Class ProcessEngineConfigurationImpl

    • Field Detail

      • DB_SCHEMA_UPDATE_CREATE

        public static final java.lang.String DB_SCHEMA_UPDATE_CREATE
        See Also:
        Constant Field Values
      • DB_SCHEMA_UPDATE_DROP_CREATE

        public static final java.lang.String DB_SCHEMA_UPDATE_DROP_CREATE
        See Also:
        Constant Field Values
      • HISTORYLEVEL_NONE

        public static final int HISTORYLEVEL_NONE
      • HISTORYLEVEL_ACTIVITY

        public static final int HISTORYLEVEL_ACTIVITY
      • HISTORYLEVEL_AUDIT

        public static final int HISTORYLEVEL_AUDIT
      • HISTORYLEVEL_FULL

        public static final int HISTORYLEVEL_FULL
      • DEFAULT_WS_SYNC_FACTORY

        public static final java.lang.String DEFAULT_WS_SYNC_FACTORY
        See Also:
        Constant Field Values
      • DEFAULT_MYBATIS_MAPPING_FILE

        public static final java.lang.String DEFAULT_MYBATIS_MAPPING_FILE
        See Also:
        Constant Field Values
      • DEFAULT_FAILED_JOB_LISTENER_MAX_RETRIES

        public static final int DEFAULT_FAILED_JOB_LISTENER_MAX_RETRIES
        See Also:
        Constant Field Values
      • DEFAULT_INVOCATIONS_PER_BATCH_JOB

        public static final int DEFAULT_INVOCATIONS_PER_BATCH_JOB
        See Also:
        Constant Field Values
      • DEFAULT_BEANS_MAP

        protected static final java.util.Map<java.lang.Object,​java.lang.Object> DEFAULT_BEANS_MAP
      • cachedSqlSessionFactory

        public static org.apache.ibatis.session.SqlSessionFactory cachedSqlSessionFactory
      • customPostCommandInterceptorsTxRequired

        protected java.util.List<CommandInterceptor> customPostCommandInterceptorsTxRequired
      • commandInterceptorsTxRequired

        protected java.util.List<CommandInterceptor> commandInterceptorsTxRequired
      • commandExecutorTxRequired

        protected CommandExecutor commandExecutorTxRequired
        this will be initialized during the configurationComplete()
      • customPostCommandInterceptorsTxRequiresNew

        protected java.util.List<CommandInterceptor> customPostCommandInterceptorsTxRequiresNew
      • commandInterceptorsTxRequiresNew

        protected java.util.List<CommandInterceptor> commandInterceptorsTxRequiresNew
      • commandExecutorTxRequiresNew

        protected CommandExecutor commandExecutorTxRequiresNew
        this will be initialized during the configurationComplete()
      • commandExecutorSchemaOperations

        protected CommandExecutor commandExecutorSchemaOperations
        Separate command executor to be used for db schema operations. Must always use NON-JTA transactions
      • commandRetries

        protected int commandRetries
        Allows for specific commands to be retried when using CockroachDB. This is due to the fact that OptimisticLockingExceptions can't be handled on CockroachDB and transactions must be rolled back. The commands where CockroachDB retries are possible are:
        • BootstrapEngineCommand
        • AcquireJobsCmd
        • DeployCmd
        • FetchExternalTasksCmd
        • HistoryCleanupCmd
        • HistoryLevelSetupCommand
      • customSessionFactories

        protected java.util.List<SessionFactory> customSessionFactories
      • sessionFactories

        protected java.util.Map<java.lang.Class<?>,​SessionFactory> sessionFactories
      • customPreDeployers

        protected java.util.List<Deployer> customPreDeployers
      • customPostDeployers

        protected java.util.List<Deployer> customPostDeployers
      • deployers

        protected java.util.List<Deployer> deployers
      • cacheCapacity

        protected int cacheCapacity
      • enableFetchProcessDefinitionDescription

        protected boolean enableFetchProcessDefinitionDescription
      • customJobHandlers

        protected java.util.List<JobHandler> customJobHandlers
      • jobHandlers

        protected java.util.Map<java.lang.String,​JobHandler> jobHandlers
      • jobExecutorPriorityRangeMin

        protected long jobExecutorPriorityRangeMin
      • jobExecutorPriorityRangeMax

        protected long jobExecutorPriorityRangeMax
      • sqlSessionFactory

        protected org.apache.ibatis.session.SqlSessionFactory sqlSessionFactory
      • transactionFactory

        protected org.apache.ibatis.transaction.TransactionFactory transactionFactory
      • idGeneratorDataSource

        protected javax.sql.DataSource idGeneratorDataSource
      • idGeneratorDataSourceJndiName

        protected java.lang.String idGeneratorDataSourceJndiName
      • incidentHandlers

        protected java.util.Map<java.lang.String,​IncidentHandler> incidentHandlers
      • customIncidentHandlers

        protected java.util.List<IncidentHandler> customIncidentHandlers
      • batchHandlers

        protected java.util.Map<java.lang.String,​BatchJobHandler<?>> batchHandlers
      • customBatchJobHandlers

        protected java.util.List<BatchJobHandler<?>> customBatchJobHandlers
      • batchJobsPerSeed

        protected int batchJobsPerSeed
        Number of jobs created by a batch seed job invocation
      • invocationsPerBatchJob

        protected int invocationsPerBatchJob
        Number of invocations executed by a single batch job
      • invocationsPerBatchJobByBatchType

        protected java.util.Map<java.lang.String,​java.lang.Integer> invocationsPerBatchJobByBatchType
        Map to set an individual value for each batch type to control the invocations per batch job. Unless specified in this map, value of 'invocationsPerBatchJob' is used.
      • batchPollTime

        protected int batchPollTime
        seconds to wait between polling for batch completion
      • batchJobPriority

        protected long batchJobPriority
        default priority for batch jobs
      • customFormEngines

        protected java.util.List<FormEngine> customFormEngines
      • formEngines

        protected java.util.Map<java.lang.String,​FormEngine> formEngines
      • customFormFieldValidators

        protected java.util.Map<java.lang.String,​java.lang.Class<? extends FormFieldValidator>> customFormFieldValidators
      • disableStrictCamundaFormParsing

        protected boolean disableStrictCamundaFormParsing
        don't throw parsing exceptions for Camunda Forms if set to true
      • customPreVariableSerializers

        protected java.util.List<TypedValueSerializer> customPreVariableSerializers
      • customPostVariableSerializers

        protected java.util.List<TypedValueSerializer> customPostVariableSerializers
      • defaultSerializationFormat

        protected java.lang.String defaultSerializationFormat
      • javaSerializationFormatEnabled

        protected boolean javaSerializationFormatEnabled
      • defaultCharsetName

        protected java.lang.String defaultCharsetName
      • defaultCharset

        protected java.nio.charset.Charset defaultCharset
      • dmnElProvider

        protected ElProvider dmnElProvider
      • resolverFactories

        protected java.util.List<ResolverFactory> resolverFactories
      • scriptEngineNameJavaScript

        protected java.lang.String scriptEngineNameJavaScript
      • autoStoreScriptVariables

        protected boolean autoStoreScriptVariables
      • enableScriptCompilation

        protected boolean enableScriptCompilation
      • enableScriptEngineCaching

        protected boolean enableScriptEngineCaching
      • enableFetchScriptEngineFromProcessApplication

        protected boolean enableFetchScriptEngineFromProcessApplication
      • enableScriptEngineLoadExternalResources

        protected boolean enableScriptEngineLoadExternalResources
      • enableScriptEngineNashornCompatibility

        protected boolean enableScriptEngineNashornCompatibility
      • configureScriptEngineHostAccess

        protected boolean configureScriptEngineHostAccess
      • cmmnEnabled

        protected boolean cmmnEnabled
        When set to false, the following behavior changes:
        • The automated schema maintenance (creating and dropping tables, see property databaseSchemaUpdate) does not cover the tables required for CMMN execution.
        • CMMN resources are not deployed as CaseDefinition to the engine.
        • Tasks from CMMN cases are not returned by the TaskQuery.
      • dmnEnabled

        protected boolean dmnEnabled
        When set to false, the following behavior changes:
        • The automated schema maintenance (creating and dropping tables, see property databaseSchemaUpdate) does not cover the tables required for DMN execution.
        • DMN resources are not deployed as DecisionDefinition or DecisionRequirementsDefinition to the engine.
      • standaloneTasksEnabled

        protected boolean standaloneTasksEnabled
        When set to false, the following behavior changes:
        • Standalone tasks can no longer be created via API.
        • Standalone tasks are not returned by the TaskQuery.
      • enableGracefulDegradationOnContextSwitchFailure

        protected boolean enableGracefulDegradationOnContextSwitchFailure
      • wsSyncFactoryClassName

        protected java.lang.String wsSyncFactoryClassName
      • dmnFeelCustomFunctionProviders

        protected java.util.List<FeelCustomFunctionProvider> dmnFeelCustomFunctionProviders
        a list of DMN FEEL custom function providers
      • dmnFeelEnableLegacyBehavior

        protected boolean dmnFeelEnableLegacyBehavior
        Enable DMN FEEL legacy behavior
      • dmnReturnBlankTableOutputAsNull

        protected boolean dmnReturnBlankTableOutputAsNull
        Controls whether blank DMN table outputs are swallowed or returned as null.
      • historyLevels

        protected java.util.List<HistoryLevel> historyLevels
        a list of supported history levels
      • customHistoryLevels

        protected java.util.List<HistoryLevel> customHistoryLevels
        a list of supported custom history levels
      • customPreCmmnTransformListeners

        protected java.util.List<CmmnTransformListener> customPreCmmnTransformListeners
      • customPostCmmnTransformListeners

        protected java.util.List<CmmnTransformListener> customPostCmmnTransformListeners
      • beans

        protected java.util.Map<java.lang.Object,​java.lang.Object> beans
      • isDbIdentityUsed

        protected boolean isDbIdentityUsed
      • isDbHistoryUsed

        protected boolean isDbHistoryUsed
      • eventHandlers

        protected java.util.Map<java.lang.String,​EventHandler> eventHandlers
      • customEventHandlers

        protected java.util.List<EventHandler> customEventHandlers
      • databaseTablePrefix

        protected java.lang.String databaseTablePrefix
      • databaseSchema

        protected java.lang.String databaseSchema
        In some situations you want to set the schema to use for table checks / generation if the database metadata doesn't return that correctly, see https://jira.codehaus.org/browse/ACT-1220, https://jira.codehaus.org/browse/ACT-1062
      • isCreateDiagramOnDeploy

        protected boolean isCreateDiagramOnDeploy
      • identityProviderSessionFactory

        protected SessionFactory identityProviderSessionFactory
        session factory to be used for obtaining identity provider sessions
      • customPasswordChecker

        protected java.util.List<PasswordEncryptor> customPasswordChecker
      • registeredDeployments

        protected java.util.Set<java.lang.String> registeredDeployments
      • customHistoryEventHandlers

        protected java.util.List<HistoryEventHandler> customHistoryEventHandlers
        Allows users to add additional HistoryEventHandler instances to process history events.
      • enableDefaultDbHistoryEventHandler

        protected boolean enableDefaultDbHistoryEventHandler
        If true, the default DbHistoryEventHandler will be included in the list of history event handlers.
      • isExecutionTreePrefetchEnabled

        protected boolean isExecutionTreePrefetchEnabled
      • isDeploymentLockUsed

        protected boolean isDeploymentLockUsed
        If true the process engine will attempt to acquire an exclusive lock before creating a deployment.
      • isDeploymentSynchronized

        protected boolean isDeploymentSynchronized
        If true then several deployments will be processed strictly sequentially. When false they may be processed in parallel.
      • isDbEntityCacheReuseEnabled

        protected boolean isDbEntityCacheReuseEnabled
        Allows setting whether the process engine should try reusing the first level entity cache. Default setting is false, enabling it improves performance of asynchronous continuations.
      • isInvokeCustomVariableListeners

        protected boolean isInvokeCustomVariableListeners
      • processEngine

        protected ProcessEngineImpl processEngine
        The process engine created by this configuration.
      • artifactFactory

        protected ArtifactFactory artifactFactory
        used to create instances for listeners, JavaDelegates, etc
      • metricsRegistry

        protected MetricsRegistry metricsRegistry
        the metrics registry
      • isMetricsEnabled

        protected boolean isMetricsEnabled
      • isDbMetricsReporterActivate

        protected boolean isDbMetricsReporterActivate
      • isTaskMetricsEnabled

        protected boolean isTaskMetricsEnabled
      • hostname

        protected java.lang.String hostname
        the historic job log host name
      • enableExpressionsInAdhocQueries

        protected boolean enableExpressionsInAdhocQueries
        handling of expressions submitted via API; can be used as guards against remote code execution
      • enableExpressionsInStoredQueries

        protected boolean enableExpressionsInStoredQueries
      • enableXxeProcessing

        protected boolean enableXxeProcessing
        If false, disables XML eXternal Entity (XXE) Processing. This provides protection against XXE Processing attacks.
      • restrictUserOperationLogToAuthenticatedUsers

        protected boolean restrictUserOperationLogToAuthenticatedUsers
        If true, user operation log entries are only written if there is an authenticated user present in the context. If false, user operation log entries are written regardless of authentication state.
      • disableStrictCallActivityValidation

        protected boolean disableStrictCallActivityValidation
      • isBpmnStacktraceVerbose

        protected boolean isBpmnStacktraceVerbose
      • forceCloseMybatisConnectionPool

        protected boolean forceCloseMybatisConnectionPool
      • commandCheckers

        protected java.util.List<CommandChecker> commandCheckers
      • adminGroups

        protected java.util.List<java.lang.String> adminGroups
      • adminUsers

        protected java.util.List<java.lang.String> adminUsers
      • customPostMigrationActivityValidators

        protected java.util.List<MigrationActivityValidator> customPostMigrationActivityValidators
      • defaultUserPermissionForTask

        protected Permission defaultUserPermissionForTask
      • enableHistoricInstancePermissions

        protected boolean enableHistoricInstancePermissions
        Historic instance permissions are disabled by default
      • isUseSharedSqlSessionFactory

        protected boolean isUseSharedSqlSessionFactory
      • historyCleanupBatchWindowStartTime

        protected java.lang.String historyCleanupBatchWindowStartTime
      • historyCleanupBatchWindowEndTime

        protected java.lang.String historyCleanupBatchWindowEndTime
      • historyCleanupBatchWindowStartTimeAsDate

        protected java.util.Date historyCleanupBatchWindowStartTimeAsDate
      • historyCleanupBatchWindowEndTimeAsDate

        protected java.util.Date historyCleanupBatchWindowEndTimeAsDate
      • historyCleanupBatchWindows

        protected java.util.Map<java.lang.Integer,​BatchWindowConfiguration> historyCleanupBatchWindows
      • mondayHistoryCleanupBatchWindowStartTime

        protected java.lang.String mondayHistoryCleanupBatchWindowStartTime
      • mondayHistoryCleanupBatchWindowEndTime

        protected java.lang.String mondayHistoryCleanupBatchWindowEndTime
      • tuesdayHistoryCleanupBatchWindowStartTime

        protected java.lang.String tuesdayHistoryCleanupBatchWindowStartTime
      • tuesdayHistoryCleanupBatchWindowEndTime

        protected java.lang.String tuesdayHistoryCleanupBatchWindowEndTime
      • wednesdayHistoryCleanupBatchWindowStartTime

        protected java.lang.String wednesdayHistoryCleanupBatchWindowStartTime
      • wednesdayHistoryCleanupBatchWindowEndTime

        protected java.lang.String wednesdayHistoryCleanupBatchWindowEndTime
      • thursdayHistoryCleanupBatchWindowStartTime

        protected java.lang.String thursdayHistoryCleanupBatchWindowStartTime
      • thursdayHistoryCleanupBatchWindowEndTime

        protected java.lang.String thursdayHistoryCleanupBatchWindowEndTime
      • fridayHistoryCleanupBatchWindowStartTime

        protected java.lang.String fridayHistoryCleanupBatchWindowStartTime
      • fridayHistoryCleanupBatchWindowEndTime

        protected java.lang.String fridayHistoryCleanupBatchWindowEndTime
      • saturdayHistoryCleanupBatchWindowStartTime

        protected java.lang.String saturdayHistoryCleanupBatchWindowStartTime
      • saturdayHistoryCleanupBatchWindowEndTime

        protected java.lang.String saturdayHistoryCleanupBatchWindowEndTime
      • sundayHistoryCleanupBatchWindowStartTime

        protected java.lang.String sundayHistoryCleanupBatchWindowStartTime
      • sundayHistoryCleanupBatchWindowEndTime

        protected java.lang.String sundayHistoryCleanupBatchWindowEndTime
      • historyCleanupDegreeOfParallelism

        protected int historyCleanupDegreeOfParallelism
      • historyTimeToLive

        protected java.lang.String historyTimeToLive
      • batchOperationHistoryTimeToLive

        protected java.lang.String batchOperationHistoryTimeToLive
      • batchOperationsForHistoryCleanup

        protected java.util.Map<java.lang.String,​java.lang.String> batchOperationsForHistoryCleanup
      • parsedBatchOperationsForHistoryCleanup

        protected java.util.Map<java.lang.String,​java.lang.Integer> parsedBatchOperationsForHistoryCleanup
      • historyCleanupJobPriority

        protected long historyCleanupJobPriority
        Default priority for history cleanup jobs.
      • historyCleanupJobLogTimeToLive

        protected java.lang.String historyCleanupJobLogTimeToLive
        Time to live for historic job log entries written by history cleanup jobs. Must be an ISO-8601 conform String specifying only a number of days. Only works in conjunction with removal-time-based cleanup strategy.
      • taskMetricsTimeToLive

        protected java.lang.String taskMetricsTimeToLive
      • parsedTaskMetricsTimeToLive

        protected java.lang.Integer parsedTaskMetricsTimeToLive
      • historyRemovalTimeStrategy

        protected java.lang.String historyRemovalTimeStrategy
      • historyCleanupStrategy

        protected java.lang.String historyCleanupStrategy
      • historyCleanupEnabled

        protected boolean historyCleanupEnabled
        Controls whether engine participates in history cleanup or not.
      • failedJobRetryTimeCycle

        protected java.lang.String failedJobRetryTimeCycle
      • loginMaxAttempts

        protected int loginMaxAttempts
      • loginDelayFactor

        protected int loginDelayFactor
      • loginDelayMaxTime

        protected int loginDelayMaxTime
      • loginDelayBase

        protected int loginDelayBase
      • queryMaxResultsLimit

        protected int queryMaxResultsLimit
      • loggingContextActivityId

        protected java.lang.String loggingContextActivityId
      • loggingContextActivityName

        protected java.lang.String loggingContextActivityName
      • loggingContextApplicationName

        protected java.lang.String loggingContextApplicationName
      • loggingContextBusinessKey

        protected java.lang.String loggingContextBusinessKey
      • loggingContextProcessDefinitionId

        protected java.lang.String loggingContextProcessDefinitionId
      • loggingContextProcessDefinitionKey

        protected java.lang.String loggingContextProcessDefinitionKey
      • loggingContextProcessInstanceId

        protected java.lang.String loggingContextProcessInstanceId
      • loggingContextTenantId

        protected java.lang.String loggingContextTenantId
      • loggingContextEngineName

        protected java.lang.String loggingContextEngineName
      • logLevelBpmnStackTrace

        protected java.lang.String logLevelBpmnStackTrace
      • enableOptimisticLockingOnForeignKeyViolation

        protected boolean enableOptimisticLockingOnForeignKeyViolation
      • initializeTelemetry

        protected java.lang.Boolean initializeTelemetry
        Sets the initial property value of telemetry configuration only once when it has never been enabled/disabled before. Subsequent changes can be done only via the Telemetry API in ManagementService
      • telemetryEndpoint

        protected java.lang.String telemetryEndpoint
        The endpoint which telemetry is sent to
      • telemetryRequestRetries

        protected int telemetryRequestRetries
        The number of times the telemetry request is retried in case it fails
      • isTelemetryReporterActivate

        protected boolean isTelemetryReporterActivate
        Determines if the telemetry reporter thread runs. For telemetry to be sent, this flag must be set to true and telemetry must be enabled via API (see ManagementService.toggleTelemetry(boolean).
      • telemetryHttpConnector

        protected org.camunda.connect.spi.Connector<? extends org.camunda.connect.spi.ConnectorRequest<?>> telemetryHttpConnector
        http client used for sending telemetry
      • telemetryReportingPeriod

        protected long telemetryReportingPeriod
        default: once every 24 hours
      • telemetryRequestTimeout

        protected int telemetryRequestTimeout
        the connection and socket timeout configuration of the telemetry request in milliseconds default: 15 seconds
      • disableExceptionCode

        protected boolean disableExceptionCode
        Disables the ExceptionCodeInterceptor and therefore the whole exception code feature.
      • databaseTypeMappings

        protected static java.util.Properties databaseTypeMappings
      • MY_SQL_PRODUCT_NAME

        protected static final java.lang.String MY_SQL_PRODUCT_NAME
        See Also:
        Constant Field Values
      • MARIA_DB_PRODUCT_NAME

        protected static final java.lang.String MARIA_DB_PRODUCT_NAME
        See Also:
        Constant Field Values
      • POSTGRES_DB_PRODUCT_NAME

        protected static final java.lang.String POSTGRES_DB_PRODUCT_NAME
        See Also:
        Constant Field Values
      • CRDB_DB_PRODUCT_NAME

        protected static final java.lang.String CRDB_DB_PRODUCT_NAME
        See Also:
        Constant Field Values
    • Constructor Detail

      • ProcessEngineConfigurationImpl

        public ProcessEngineConfigurationImpl()
    • Method Detail

      • isDisableExceptionCode

        public boolean isDisableExceptionCode()
        Returns:
        true if the exception code feature is disabled and vice-versa.
      • setDisableExceptionCode

        public void setDisableExceptionCode​(boolean disableExceptionCode)
        Setter to disables the ExceptionCodeInterceptor and therefore the whole exception code feature.
      • isDisableBuiltinExceptionCodeProvider

        public boolean isDisableBuiltinExceptionCodeProvider()
        Returns:
        true if the built-in exception code provider is disabled and vice-versa.
      • setCustomExceptionCodeProvider

        public void setCustomExceptionCodeProvider​(ExceptionCodeProvider customExceptionCodeProvider)
        Setter to register a custom implementation of a ExceptionCodeProvider allowing to provide custom error codes.
      • setBuiltinExceptionCodeProvider

        public void setBuiltinExceptionCodeProvider​(ExceptionCodeProvider builtinExceptionCodeProvider)
      • init

        protected void init()
      • initExceptionCodeProvider

        public void initExceptionCodeProvider()
      • initTypeValidator

        protected void initTypeValidator()
      • initHistoryRemovalTime

        public void initHistoryRemovalTime()
      • initHistoryRemovalTimeStrategy

        public void initHistoryRemovalTimeStrategy()
      • initHistoryRemovalTimeProvider

        public void initHistoryRemovalTimeProvider()
      • initHistoryCleanup

        public void initHistoryCleanup()
      • initHistoryCleanupStrategy

        protected void initHistoryCleanupStrategy()
      • initInvocationsPerBatchJobByBatchType

        protected void initInvocationsPerBatchJobByBatchType()
      • initHistoryTimeToLive

        protected void initHistoryTimeToLive()
      • initBatchOperationsHistoryTimeToLive

        protected void initBatchOperationsHistoryTimeToLive()
      • initHistoryCleanupJobLogTimeToLive

        protected void initHistoryCleanupJobLogTimeToLive()
      • initTaskMetricsTimeToLive

        protected void initTaskMetricsTimeToLive()
      • invokePreInit

        protected void invokePreInit()
      • invokePostInit

        protected void invokePostInit()
      • invokePostProcessEngineBuild

        protected void invokePostProcessEngineBuild​(ProcessEngine engine)
      • initFailedJobCommandFactory

        protected void initFailedJobCommandFactory()
      • initIncidentHandlers

        protected void initIncidentHandlers()
      • initBatchHandlers

        protected void initBatchHandlers()
      • getDefaultCommandInterceptorsTxRequired

        protected abstract java.util.Collection<? extends CommandInterceptor> getDefaultCommandInterceptorsTxRequired()
      • getDefaultCommandInterceptorsTxRequiresNew

        protected abstract java.util.Collection<? extends CommandInterceptor> getDefaultCommandInterceptorsTxRequiresNew()
      • initCommandExecutors

        protected void initCommandExecutors()
      • initActualCommandExecutor

        protected void initActualCommandExecutor()
      • initCommandInterceptorsTxRequired

        protected void initCommandInterceptorsTxRequired()
      • initCommandInterceptorsTxRequiresNew

        protected void initCommandInterceptorsTxRequiresNew()
      • initCommandExecutorTxRequired

        protected void initCommandExecutorTxRequired()
      • initCommandExecutorTxRequiresNew

        protected void initCommandExecutorTxRequiresNew()
      • initCommandExecutorDbSchemaOperations

        protected void initCommandExecutorDbSchemaOperations()
      • initServices

        protected void initServices()
      • initService

        protected void initService​(java.lang.Object service)
      • initDataSource

        protected void initDataSource()
      • getDefaultDatabaseTypeMappings

        protected static java.util.Properties getDefaultDatabaseTypeMappings()
      • initDatabaseType

        public void initDatabaseType()
      • checkForMariaDb

        protected java.lang.String checkForMariaDb​(java.sql.DatabaseMetaData databaseMetaData,
                                                   java.lang.String databaseName)
        The product name of mariadb is still 'MySQL'. This method tries if it can find some evidence for mariadb. If it is successful it will return "MariaDB", otherwise the provided database name.
      • checkForCrdb

        protected java.lang.String checkForCrdb​(java.sql.Connection connection)
      • initDatabaseVendorAndVersion

        protected void initDatabaseVendorAndVersion​(java.sql.DatabaseMetaData databaseMetaData)
                                             throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • initTransactionFactory

        protected void initTransactionFactory()
      • initSqlSessionFactory

        protected void initSqlSessionFactory()
      • initSqlSessionFactoryProperties

        public static void initSqlSessionFactoryProperties​(java.util.Properties properties,
                                                           java.lang.String databaseTablePrefix,
                                                           java.lang.String databaseType)
      • getMyBatisXmlConfigurationSteam

        protected java.io.InputStream getMyBatisXmlConfigurationSteam()
      • initIdentityProviderSessionFactory

        protected void initIdentityProviderSessionFactory()
      • initSessionFactories

        protected void initSessionFactories()
      • initPersistenceProviders

        protected void initPersistenceProviders()
      • initMigration

        protected void initMigration()
      • initMigrationActivityMatcher

        protected void initMigrationActivityMatcher()
      • initMigrationInstructionGenerator

        protected void initMigrationInstructionGenerator()
      • initMigrationInstructionValidators

        protected void initMigrationInstructionValidators()
      • initMigratingActivityInstanceValidators

        protected void initMigratingActivityInstanceValidators()
      • initMigratingTransitionInstanceValidators

        protected void initMigratingTransitionInstanceValidators()
      • initMigratingCompensationInstanceValidators

        protected void initMigratingCompensationInstanceValidators()
      • ensurePrefixAndSchemaFitToegether

        protected void ensurePrefixAndSchemaFitToegether​(java.lang.String prefix,
                                                         java.lang.String schema)
        When providing a schema and a prefix the prefix has to be the schema ending with a dot.
      • addSessionFactory

        protected void addSessionFactory​(SessionFactory sessionFactory)
      • initDeployers

        protected void initDeployers()
      • getDefaultDeployers

        protected java.util.Collection<? extends Deployer> getDefaultDeployers()
      • getBpmnDeployer

        protected BpmnDeployer getBpmnDeployer()
      • getDefaultBPMNParseListeners

        protected java.util.List<BpmnParseListener> getDefaultBPMNParseListeners()
      • getCmmnDeployer

        protected CmmnDeployer getCmmnDeployer()
      • getDefaultCmmnTransformListeners

        protected java.util.List<CmmnTransformListener> getDefaultCmmnTransformListeners()
      • getDmnEngine

        public DmnEngine getDmnEngine()
      • setDmnEngine

        public void setDmnEngine​(DmnEngine dmnEngine)
      • initJobExecutor

        protected void initJobExecutor()
      • initJobProvider

        protected void initJobProvider()
      • initExternalTaskPriorityProvider

        protected void initExternalTaskPriorityProvider()
      • initHistoryLevel

        public void initHistoryLevel()
      • initIdGenerator

        protected void initIdGenerator()
      • initCommandContextFactory

        protected void initCommandContextFactory()
      • initTransactionContextFactory

        protected void initTransactionContextFactory()
      • initValueTypeResolver

        protected void initValueTypeResolver()
      • initDefaultCharset

        protected void initDefaultCharset()
      • initMetrics

        protected void initMetrics()
      • initHostName

        protected void initHostName()
      • initDefaultMetrics

        protected void initDefaultMetrics​(MetricsRegistry metricsRegistry)
      • initSerialization

        protected void initSerialization()
      • initFormEngines

        protected void initFormEngines()
      • initFormTypes

        protected void initFormTypes()
      • initFormFieldValidators

        protected void initFormFieldValidators()
      • initScripting

        protected void initScripting()
      • initDmnEngine

        protected void initDmnEngine()
      • initExpressionManager

        protected void initExpressionManager()
      • initBusinessCalendarManager

        protected void initBusinessCalendarManager()
      • initDelegateInterceptor

        protected void initDelegateInterceptor()
      • initEventHandlers

        protected void initEventHandlers()
      • initCommandCheckers

        protected void initCommandCheckers()
      • initJpa

        protected void initJpa()
      • initBeans

        protected void initBeans()
      • initArtifactFactory

        protected void initArtifactFactory()
      • initProcessApplicationManager

        protected void initProcessApplicationManager()
      • initCorrelationHandler

        protected void initCorrelationHandler()
      • initConditionHandler

        protected void initConditionHandler()
      • initDeploymentHandlerFactory

        protected void initDeploymentHandlerFactory()
      • initHistoryEventProducer

        protected void initHistoryEventProducer()
      • initCmmnHistoryEventProducer

        protected void initCmmnHistoryEventProducer()
      • initDmnHistoryEventProducer

        protected void initDmnHistoryEventProducer()
      • initHistoryEventHandler

        protected void initHistoryEventHandler()
      • initPasswordDigest

        protected void initPasswordDigest()
      • initPasswordPolicy

        public void initPasswordPolicy()
      • initDeploymentRegistration

        protected void initDeploymentRegistration()
      • initCacheFactory

        protected void initCacheFactory()
      • initResourceAuthorizationProvider

        protected void initResourceAuthorizationProvider()
      • initPermissionProvider

        protected void initPermissionProvider()
      • initDefaultUserPermissionForTask

        protected void initDefaultUserPermissionForTask()
      • initAdminUser

        protected void initAdminUser()
      • initAdminGroups

        protected void initAdminGroups()
      • initTelemetry

        protected void initTelemetry()
      • initTelemetryData

        protected void initTelemetryData()
      • setHistoryLevel

        public void setHistoryLevel​(HistoryLevel historyLevel)
      • getDefaultHistoryLevel

        public HistoryLevel getDefaultHistoryLevel()
      • getCustomPreCommandInterceptorsTxRequired

        public java.util.List<CommandInterceptor> getCustomPreCommandInterceptorsTxRequired()
      • getCustomPostCommandInterceptorsTxRequired

        public java.util.List<CommandInterceptor> getCustomPostCommandInterceptorsTxRequired()
      • getCommandInterceptorsTxRequired

        public java.util.List<CommandInterceptor> getCommandInterceptorsTxRequired()
      • getCommandExecutorTxRequired

        public CommandExecutor getCommandExecutorTxRequired()
      • getCustomPreCommandInterceptorsTxRequiresNew

        public java.util.List<CommandInterceptor> getCustomPreCommandInterceptorsTxRequiresNew()
      • getCustomPostCommandInterceptorsTxRequiresNew

        public java.util.List<CommandInterceptor> getCustomPostCommandInterceptorsTxRequiresNew()
      • getCommandInterceptorsTxRequiresNew

        public java.util.List<CommandInterceptor> getCommandInterceptorsTxRequiresNew()
      • getCommandExecutorTxRequiresNew

        public CommandExecutor getCommandExecutorTxRequiresNew()
      • setAuthorizationService

        public void setAuthorizationService​(AuthorizationService authorizationService)
      • setCaseService

        public void setCaseService​(CaseService caseService)
      • setFilterService

        public void setFilterService​(FilterService filterService)
      • setExternalTaskService

        public void setExternalTaskService​(ExternalTaskService externalTaskService)
      • setDecisionService

        public void setDecisionService​(DecisionService decisionService)
      • getSessionFactories

        public java.util.Map<java.lang.Class<?>,​SessionFactory> getSessionFactories()
      • getDeployers

        public java.util.List<Deployer> getDeployers()
      • getJobExecutorPriorityRangeMin

        public long getJobExecutorPriorityRangeMin()
      • getJobExecutorPriorityRangeMax

        public long getJobExecutorPriorityRangeMax()
      • getWsSyncFactoryClassName

        public java.lang.String getWsSyncFactoryClassName()
      • getFormEngines

        public java.util.Map<java.lang.String,​FormEngine> getFormEngines()
      • getFormTypes

        public FormTypes getFormTypes()
      • setFallbackSerializerFactory

        public void setFallbackSerializerFactory​(VariableSerializerFactory fallbackSerializerFactory)
      • getDmnElProvider

        public ElProvider getDmnElProvider()
      • getCustomPreDeployers

        public java.util.List<Deployer> getCustomPreDeployers()
      • getCustomPostDeployers

        public java.util.List<Deployer> getCustomPostDeployers()
      • setCacheFactory

        public void setCacheFactory​(CacheFactory cacheFactory)
      • setCacheCapacity

        public void setCacheCapacity​(int cacheCapacity)
      • setEnableFetchProcessDefinitionDescription

        public void setEnableFetchProcessDefinitionDescription​(boolean enableFetchProcessDefinitionDescription)
      • getEnableFetchProcessDefinitionDescription

        public boolean getEnableFetchProcessDefinitionDescription()
      • getDefaultUserPermissionForTask

        public Permission getDefaultUserPermissionForTask()
      • isEnableHistoricInstancePermissions

        public boolean isEnableHistoricInstancePermissions()
      • getJobHandlers

        public java.util.Map<java.lang.String,​JobHandler> getJobHandlers()
      • getSqlSessionFactory

        public org.apache.ibatis.session.SqlSessionFactory getSqlSessionFactory()
      • setSqlSessionFactory

        public ProcessEngineConfigurationImpl setSqlSessionFactory​(org.apache.ibatis.session.SqlSessionFactory sqlSessionFactory)
      • getTransactionFactory

        public org.apache.ibatis.transaction.TransactionFactory getTransactionFactory()
      • setTransactionFactory

        public ProcessEngineConfigurationImpl setTransactionFactory​(org.apache.ibatis.transaction.TransactionFactory transactionFactory)
      • getCustomSessionFactories

        public java.util.List<SessionFactory> getCustomSessionFactories()
      • getCustomJobHandlers

        public java.util.List<JobHandler> getCustomJobHandlers()
      • getCustomFormEngines

        public java.util.List<FormEngine> getCustomFormEngines()
      • getCustomPreVariableSerializers

        public java.util.List<TypedValueSerializer> getCustomPreVariableSerializers()
      • getCustomPostVariableSerializers

        public java.util.List<TypedValueSerializer> getCustomPostVariableSerializers()
      • getCustomPreBPMNParseListeners

        public java.util.List<BpmnParseListener> getCustomPreBPMNParseListeners()
      • setCustomPreBPMNParseListeners

        public void setCustomPreBPMNParseListeners​(java.util.List<BpmnParseListener> preParseListeners)
      • getCustomPostBPMNParseListeners

        public java.util.List<BpmnParseListener> getCustomPostBPMNParseListeners()
      • setCustomPostBPMNParseListeners

        public void setCustomPostBPMNParseListeners​(java.util.List<BpmnParseListener> postParseListeners)
      • getCustomPreCmmnTransformListeners

        public java.util.List<CmmnTransformListener> getCustomPreCmmnTransformListeners()
      • setCustomPreCmmnTransformListeners

        public void setCustomPreCmmnTransformListeners​(java.util.List<CmmnTransformListener> customPreCmmnTransformListeners)
      • getCustomPostCmmnTransformListeners

        public java.util.List<CmmnTransformListener> getCustomPostCmmnTransformListeners()
      • setCustomPostCmmnTransformListeners

        public void setCustomPostCmmnTransformListeners​(java.util.List<CmmnTransformListener> customPostCmmnTransformListeners)
      • getBeans

        public java.util.Map<java.lang.Object,​java.lang.Object> getBeans()
      • setBeans

        public void setBeans​(java.util.Map<java.lang.Object,​java.lang.Object> beans)
      • isDbIdentityUsed

        public boolean isDbIdentityUsed()
      • setDbIdentityUsed

        public void setDbIdentityUsed​(boolean isDbIdentityUsed)
      • isDbHistoryUsed

        public boolean isDbHistoryUsed()
      • setDbHistoryUsed

        public void setDbHistoryUsed​(boolean isDbHistoryUsed)
      • getResolverFactories

        public java.util.List<ResolverFactory> getResolverFactories()
      • setResolverFactories

        public void setResolverFactories​(java.util.List<ResolverFactory> resolverFactories)
      • setDeploymentCache

        public void setDeploymentCache​(DeploymentCache deploymentCache)
      • getEventHandler

        public EventHandler getEventHandler​(java.lang.String eventType)
      • setEventHandlers

        public void setEventHandlers​(java.util.Map<java.lang.String,​EventHandler> eventHandlers)
      • getEventHandlers

        public java.util.Map<java.lang.String,​EventHandler> getEventHandlers()
      • getCustomEventHandlers

        public java.util.List<EventHandler> getCustomEventHandlers()
      • setCustomEventHandlers

        public void setCustomEventHandlers​(java.util.List<EventHandler> customEventHandlers)
      • setDatabaseTablePrefix

        public ProcessEngineConfiguration setDatabaseTablePrefix​(java.lang.String databaseTablePrefix)
        Allows configuring a database table prefix which is used for all runtime operations of the process engine. For example, if you specify a prefix named 'PRE1.', activiti will query for executions in a table named 'PRE1.ACT_RU_EXECUTION_'.

        NOTE: the prefix is not respected by automatic database schema management. If you use ProcessEngineConfiguration.DB_SCHEMA_UPDATE_CREATE_DROP or ProcessEngineConfiguration.DB_SCHEMA_UPDATE_TRUE, activiti will create the database tables using the default names, regardless of the prefix configured here.

        Since:
        5.9
      • getDatabaseTablePrefix

        public java.lang.String getDatabaseTablePrefix()
      • isCreateDiagramOnDeploy

        public boolean isCreateDiagramOnDeploy()
      • getDatabaseSchema

        public java.lang.String getDatabaseSchema()
      • setDatabaseSchema

        public void setDatabaseSchema​(java.lang.String databaseSchema)
      • getIdGeneratorDataSource

        public javax.sql.DataSource getIdGeneratorDataSource()
      • setIdGeneratorDataSource

        public void setIdGeneratorDataSource​(javax.sql.DataSource idGeneratorDataSource)
      • getIdGeneratorDataSourceJndiName

        public java.lang.String getIdGeneratorDataSourceJndiName()
      • setIdGeneratorDataSourceJndiName

        public void setIdGeneratorDataSourceJndiName​(java.lang.String idGeneratorDataSourceJndiName)
      • setProcessApplicationManager

        public void setProcessApplicationManager​(ProcessApplicationManager processApplicationManager)
      • getCommandExecutorSchemaOperations

        public CommandExecutor getCommandExecutorSchemaOperations()
      • setCommandExecutorSchemaOperations

        public void setCommandExecutorSchemaOperations​(CommandExecutor commandExecutorSchemaOperations)
      • setCorrelationHandler

        public void setCorrelationHandler​(CorrelationHandler correlationHandler)
      • setConditionHandler

        public void setConditionHandler​(ConditionHandler conditionHandler)
      • isEnableDefaultDbHistoryEventHandler

        public boolean isEnableDefaultDbHistoryEventHandler()
      • setEnableDefaultDbHistoryEventHandler

        public void setEnableDefaultDbHistoryEventHandler​(boolean enableDefaultDbHistoryEventHandler)
      • getCustomHistoryEventHandlers

        public java.util.List<HistoryEventHandler> getCustomHistoryEventHandlers()
      • setCustomHistoryEventHandlers

        public void setCustomHistoryEventHandlers​(java.util.List<HistoryEventHandler> customHistoryEventHandlers)
      • getIncidentHandler

        public IncidentHandler getIncidentHandler​(java.lang.String incidentType)
      • addIncidentHandler

        public void addIncidentHandler​(IncidentHandler incidentHandler)
      • getIncidentHandlers

        public java.util.Map<java.lang.String,​IncidentHandler> getIncidentHandlers()
      • setIncidentHandlers

        public void setIncidentHandlers​(java.util.Map<java.lang.String,​IncidentHandler> incidentHandlers)
      • getCustomIncidentHandlers

        public java.util.List<IncidentHandler> getCustomIncidentHandlers()
      • setCustomIncidentHandlers

        public void setCustomIncidentHandlers​(java.util.List<IncidentHandler> customIncidentHandlers)
      • getBatchHandlers

        public java.util.Map<java.lang.String,​BatchJobHandler<?>> getBatchHandlers()
      • setBatchHandlers

        public void setBatchHandlers​(java.util.Map<java.lang.String,​BatchJobHandler<?>> batchHandlers)
      • getCustomBatchJobHandlers

        public java.util.List<BatchJobHandler<?>> getCustomBatchJobHandlers()
      • setCustomBatchJobHandlers

        public void setCustomBatchJobHandlers​(java.util.List<BatchJobHandler<?>> customBatchJobHandlers)
      • getBatchJobsPerSeed

        public int getBatchJobsPerSeed()
      • setBatchJobsPerSeed

        public void setBatchJobsPerSeed​(int batchJobsPerSeed)
      • getInvocationsPerBatchJobByBatchType

        public java.util.Map<java.lang.String,​java.lang.Integer> getInvocationsPerBatchJobByBatchType()
      • setInvocationsPerBatchJobByBatchType

        public ProcessEngineConfigurationImpl setInvocationsPerBatchJobByBatchType​(java.util.Map<java.lang.String,​java.lang.Integer> invocationsPerBatchJobByBatchType)
      • getInvocationsPerBatchJob

        public int getInvocationsPerBatchJob()
      • setInvocationsPerBatchJob

        public void setInvocationsPerBatchJob​(int invocationsPerBatchJob)
      • getBatchPollTime

        public int getBatchPollTime()
      • setBatchPollTime

        public void setBatchPollTime​(int batchPollTime)
      • getBatchJobPriority

        public long getBatchJobPriority()
      • setBatchJobPriority

        public void setBatchJobPriority​(long batchJobPriority)
      • getHistoryCleanupJobPriority

        public long getHistoryCleanupJobPriority()
      • getIdentityProviderSessionFactory

        public SessionFactory getIdentityProviderSessionFactory()
      • setIdentityProviderSessionFactory

        public void setIdentityProviderSessionFactory​(SessionFactory identityProviderSessionFactory)
      • setSaltGenerator

        public void setSaltGenerator​(SaltGenerator saltGenerator)
      • setPasswordEncryptor

        public void setPasswordEncryptor​(PasswordEncryptor passwordEncryptor)
      • getCustomPasswordChecker

        public java.util.List<PasswordEncryptor> getCustomPasswordChecker()
      • setCustomPasswordChecker

        public void setCustomPasswordChecker​(java.util.List<PasswordEncryptor> customPasswordChecker)
      • setPasswordManager

        public void setPasswordManager​(PasswordManager passwordManager)
      • getRegisteredDeployments

        public java.util.Set<java.lang.String> getRegisteredDeployments()
      • setRegisteredDeployments

        public void setRegisteredDeployments​(java.util.Set<java.lang.String> registeredDeployments)
      • setResourceAuthorizationProvider

        public void setResourceAuthorizationProvider​(ResourceAuthorizationProvider resourceAuthorizationProvider)
      • setPermissionProvider

        public void setPermissionProvider​(PermissionProvider permissionProvider)
      • getProcessEnginePlugins

        public java.util.List<ProcessEnginePlugin> getProcessEnginePlugins()
      • setProcessEnginePlugins

        public void setProcessEnginePlugins​(java.util.List<ProcessEnginePlugin> processEnginePlugins)
      • getCustomFormFieldValidators

        public java.util.Map<java.lang.String,​java.lang.Class<? extends FormFieldValidator>> getCustomFormFieldValidators()
      • setCustomFormFieldValidators

        public void setCustomFormFieldValidators​(java.util.Map<java.lang.String,​java.lang.Class<? extends FormFieldValidator>> customFormFieldValidators)
      • setFormValidators

        public void setFormValidators​(FormValidators formValidators)
      • setDisableStrictCamundaFormParsing

        public ProcessEngineConfigurationImpl setDisableStrictCamundaFormParsing​(boolean disableStrictCamundaFormParsing)
      • isDisableStrictCamundaFormParsing

        public boolean isDisableStrictCamundaFormParsing()
      • isExecutionTreePrefetchEnabled

        public boolean isExecutionTreePrefetchEnabled()
      • setExecutionTreePrefetchEnabled

        public void setExecutionTreePrefetchEnabled​(boolean isExecutionTreePrefetchingEnabled)
      • setAutoStoreScriptVariables

        public void setAutoStoreScriptVariables​(boolean autoStoreScriptVariables)
        If set to true, the process engine will save all script variables (created from Java Script, Groovy ...) as process variables.
      • isAutoStoreScriptVariables

        public boolean isAutoStoreScriptVariables()
        Returns:
        true if the process engine should save all script variables (created from Java Script, Groovy ...) as process variables.
      • setEnableScriptCompilation

        public void setEnableScriptCompilation​(boolean enableScriptCompilation)
        If set to true, the process engine will attempt to pre-compile script sources at runtime to optimize script task execution performance.
      • isEnableScriptCompilation

        public boolean isEnableScriptCompilation()
        Returns:
        true if compilation of script sources ins enabled. False otherwise.
      • isEnableGracefulDegradationOnContextSwitchFailure

        public boolean isEnableGracefulDegradationOnContextSwitchFailure()
      • setEnableGracefulDegradationOnContextSwitchFailure

        public void setEnableGracefulDegradationOnContextSwitchFailure​(boolean enableGracefulDegradationOnContextSwitchFailure)

        If set to true, the process engine will tolerate certain exceptions that may result from the fact that it cannot switch to the context of a process application that has made a deployment.

        Affects the following scenarios:

        • Determining job priorities: uses a default priority in case an expression fails to evaluate
      • isDeploymentLockUsed

        public boolean isDeploymentLockUsed()
        Returns:
        true if the process engine acquires an exclusive lock when creating a deployment.
      • setDeploymentLockUsed

        public void setDeploymentLockUsed​(boolean isDeploymentLockUsed)
        If set to true, the process engine will acquire an exclusive lock when creating a deployment. This ensures that DeploymentBuilder.enableDuplicateFiltering() works correctly in a clustered environment.
      • isDeploymentSynchronized

        public boolean isDeploymentSynchronized()
        Returns:
        true if deployment processing must be synchronized
      • setDeploymentSynchronized

        public void setDeploymentSynchronized​(boolean deploymentSynchronized)
        Sets if deployment processing must be synchronized.
        Parameters:
        deploymentSynchronized - true when deployment must be synchronized, false when several depoloyments may be processed in parallel
      • isCmmnEnabled

        public boolean isCmmnEnabled()
      • setCmmnEnabled

        public void setCmmnEnabled​(boolean cmmnEnabled)
      • isDmnEnabled

        public boolean isDmnEnabled()
      • setDmnEnabled

        public void setDmnEnabled​(boolean dmnEnabled)
      • isStandaloneTasksEnabled

        public boolean isStandaloneTasksEnabled()
      • isCompositeIncidentHandlersEnabled

        public boolean isCompositeIncidentHandlersEnabled()
      • setCompositeIncidentHandlersEnabled

        public ProcessEngineConfigurationImpl setCompositeIncidentHandlersEnabled​(boolean compositeIncidentHandlersEnabled)
      • setScriptFactory

        public void setScriptFactory​(ScriptFactory scriptFactory)
      • setScriptingEnvironment

        public void setScriptingEnvironment​(ScriptingEnvironment scriptingEnvironment)
      • getEnvScriptResolvers

        public java.util.List<ScriptEnvResolver> getEnvScriptResolvers()
      • setEnvScriptResolvers

        public void setEnvScriptResolvers​(java.util.List<ScriptEnvResolver> scriptEnvResolvers)
      • getScriptEngineNameJavaScript

        public java.lang.String getScriptEngineNameJavaScript()
      • setScriptEngineNameJavaScript

        public ProcessEngineConfigurationImpl setScriptEngineNameJavaScript​(java.lang.String scriptEngineNameJavaScript)
      • getDefaultSerializationFormat

        public java.lang.String getDefaultSerializationFormat()
      • setDefaultSerializationFormat

        public ProcessEngineConfigurationImpl setDefaultSerializationFormat​(java.lang.String defaultSerializationFormat)
      • isJavaSerializationFormatEnabled

        public boolean isJavaSerializationFormatEnabled()
      • setJavaSerializationFormatEnabled

        public void setJavaSerializationFormatEnabled​(boolean javaSerializationFormatEnabled)
      • getDefaultCharset

        public java.nio.charset.Charset getDefaultCharset()
      • isDbEntityCacheReuseEnabled

        public boolean isDbEntityCacheReuseEnabled()
      • getHistoryLevels

        public java.util.List<HistoryLevel> getHistoryLevels()
      • getCustomHistoryLevels

        public java.util.List<HistoryLevel> getCustomHistoryLevels()
      • isInvokeCustomVariableListeners

        public boolean isInvokeCustomVariableListeners()
      • setInvokeCustomVariableListeners

        public ProcessEngineConfigurationImpl setInvokeCustomVariableListeners​(boolean isInvokeCustomVariableListeners)
      • close

        public void close()
      • isMetricsEnabled

        public boolean isMetricsEnabled()
      • isDbMetricsReporterActivate

        public boolean isDbMetricsReporterActivate()
      • getHostname

        public java.lang.String getHostname()
      • isTaskMetricsEnabled

        public boolean isTaskMetricsEnabled()
      • isEnableScriptEngineCaching

        public boolean isEnableScriptEngineCaching()
      • isEnableFetchScriptEngineFromProcessApplication

        public boolean isEnableFetchScriptEngineFromProcessApplication()
      • setEnableFetchScriptEngineFromProcessApplication

        public ProcessEngineConfigurationImpl setEnableFetchScriptEngineFromProcessApplication​(boolean enable)
      • isEnableScriptEngineLoadExternalResources

        public boolean isEnableScriptEngineLoadExternalResources()
      • setEnableScriptEngineLoadExternalResources

        public ProcessEngineConfigurationImpl setEnableScriptEngineLoadExternalResources​(boolean enableScriptEngineLoadExternalResources)
      • isEnableScriptEngineNashornCompatibility

        public boolean isEnableScriptEngineNashornCompatibility()
      • setEnableScriptEngineNashornCompatibility

        public ProcessEngineConfigurationImpl setEnableScriptEngineNashornCompatibility​(boolean enableScriptEngineNashornCompatibility)
      • isConfigureScriptEngineHostAccess

        public boolean isConfigureScriptEngineHostAccess()
      • setConfigureScriptEngineHostAccess

        public ProcessEngineConfigurationImpl setConfigureScriptEngineHostAccess​(boolean configureScriptEngineHostAccess)
      • isEnableExpressionsInAdhocQueries

        public boolean isEnableExpressionsInAdhocQueries()
      • setEnableExpressionsInAdhocQueries

        public void setEnableExpressionsInAdhocQueries​(boolean enableExpressionsInAdhocQueries)
      • isEnableExpressionsInStoredQueries

        public boolean isEnableExpressionsInStoredQueries()
      • setEnableExpressionsInStoredQueries

        public void setEnableExpressionsInStoredQueries​(boolean enableExpressionsInStoredQueries)
      • isEnableXxeProcessing

        public boolean isEnableXxeProcessing()
      • setEnableXxeProcessing

        public void setEnableXxeProcessing​(boolean enableXxeProcessing)
      • isBpmnStacktraceVerbose

        public boolean isBpmnStacktraceVerbose()
      • isForceCloseMybatisConnectionPool

        public boolean isForceCloseMybatisConnectionPool()
      • setForceCloseMybatisConnectionPool

        public ProcessEngineConfigurationImpl setForceCloseMybatisConnectionPool​(boolean forceCloseMybatisConnectionPool)
      • isRestrictUserOperationLogToAuthenticatedUsers

        public boolean isRestrictUserOperationLogToAuthenticatedUsers()
      • setRestrictUserOperationLogToAuthenticatedUsers

        public ProcessEngineConfigurationImpl setRestrictUserOperationLogToAuthenticatedUsers​(boolean restrictUserOperationLogToAuthenticatedUsers)
      • setMigrationActivityMatcher

        public void setMigrationActivityMatcher​(MigrationActivityMatcher migrationActivityMatcher)
      • setCustomPreMigrationActivityValidators

        public void setCustomPreMigrationActivityValidators​(java.util.List<MigrationActivityValidator> customPreMigrationActivityValidators)
      • getCustomPreMigrationActivityValidators

        public java.util.List<MigrationActivityValidator> getCustomPreMigrationActivityValidators()
      • setCustomPostMigrationActivityValidators

        public void setCustomPostMigrationActivityValidators​(java.util.List<MigrationActivityValidator> customPostMigrationActivityValidators)
      • getCustomPostMigrationActivityValidators

        public java.util.List<MigrationActivityValidator> getCustomPostMigrationActivityValidators()
      • getDefaultMigrationActivityValidators

        public java.util.List<MigrationActivityValidator> getDefaultMigrationActivityValidators()
      • setMigrationInstructionGenerator

        public void setMigrationInstructionGenerator​(MigrationInstructionGenerator migrationInstructionGenerator)
      • setMigrationInstructionValidators

        public void setMigrationInstructionValidators​(java.util.List<MigrationInstructionValidator> migrationInstructionValidators)
      • setCustomPostMigrationInstructionValidators

        public void setCustomPostMigrationInstructionValidators​(java.util.List<MigrationInstructionValidator> customPostMigrationInstructionValidators)
      • getCustomPostMigrationInstructionValidators

        public java.util.List<MigrationInstructionValidator> getCustomPostMigrationInstructionValidators()
      • setCustomPreMigrationInstructionValidators

        public void setCustomPreMigrationInstructionValidators​(java.util.List<MigrationInstructionValidator> customPreMigrationInstructionValidators)
      • setMigratingActivityInstanceValidators

        public void setMigratingActivityInstanceValidators​(java.util.List<MigratingActivityInstanceValidator> migratingActivityInstanceValidators)
      • setCustomPostMigratingActivityInstanceValidators

        public void setCustomPostMigratingActivityInstanceValidators​(java.util.List<MigratingActivityInstanceValidator> customPostMigratingActivityInstanceValidators)
      • setCustomPreMigratingActivityInstanceValidators

        public void setCustomPreMigratingActivityInstanceValidators​(java.util.List<MigratingActivityInstanceValidator> customPreMigratingActivityInstanceValidators)
      • getCommandCheckers

        public java.util.List<CommandChecker> getCommandCheckers()
      • setCommandCheckers

        public void setCommandCheckers​(java.util.List<CommandChecker> commandCheckers)
      • isUseSharedSqlSessionFactory

        public boolean isUseSharedSqlSessionFactory()
      • getDisableStrictCallActivityValidation

        public boolean getDisableStrictCallActivityValidation()
      • setDisableStrictCallActivityValidation

        public void setDisableStrictCallActivityValidation​(boolean disableStrictCallActivityValidation)
      • getHistoryCleanupBatchWindowStartTime

        public java.lang.String getHistoryCleanupBatchWindowStartTime()
      • setHistoryCleanupBatchWindowStartTime

        public void setHistoryCleanupBatchWindowStartTime​(java.lang.String historyCleanupBatchWindowStartTime)
      • getHistoryCleanupBatchWindowEndTime

        public java.lang.String getHistoryCleanupBatchWindowEndTime()
      • setHistoryCleanupBatchWindowEndTime

        public void setHistoryCleanupBatchWindowEndTime​(java.lang.String historyCleanupBatchWindowEndTime)
      • getMondayHistoryCleanupBatchWindowStartTime

        public java.lang.String getMondayHistoryCleanupBatchWindowStartTime()
      • setMondayHistoryCleanupBatchWindowStartTime

        public void setMondayHistoryCleanupBatchWindowStartTime​(java.lang.String mondayHistoryCleanupBatchWindowStartTime)
      • getMondayHistoryCleanupBatchWindowEndTime

        public java.lang.String getMondayHistoryCleanupBatchWindowEndTime()
      • setMondayHistoryCleanupBatchWindowEndTime

        public void setMondayHistoryCleanupBatchWindowEndTime​(java.lang.String mondayHistoryCleanupBatchWindowEndTime)
      • getTuesdayHistoryCleanupBatchWindowStartTime

        public java.lang.String getTuesdayHistoryCleanupBatchWindowStartTime()
      • setTuesdayHistoryCleanupBatchWindowStartTime

        public void setTuesdayHistoryCleanupBatchWindowStartTime​(java.lang.String tuesdayHistoryCleanupBatchWindowStartTime)
      • getTuesdayHistoryCleanupBatchWindowEndTime

        public java.lang.String getTuesdayHistoryCleanupBatchWindowEndTime()
      • setTuesdayHistoryCleanupBatchWindowEndTime

        public void setTuesdayHistoryCleanupBatchWindowEndTime​(java.lang.String tuesdayHistoryCleanupBatchWindowEndTime)
      • getWednesdayHistoryCleanupBatchWindowStartTime

        public java.lang.String getWednesdayHistoryCleanupBatchWindowStartTime()
      • setWednesdayHistoryCleanupBatchWindowStartTime

        public void setWednesdayHistoryCleanupBatchWindowStartTime​(java.lang.String wednesdayHistoryCleanupBatchWindowStartTime)
      • getWednesdayHistoryCleanupBatchWindowEndTime

        public java.lang.String getWednesdayHistoryCleanupBatchWindowEndTime()
      • setWednesdayHistoryCleanupBatchWindowEndTime

        public void setWednesdayHistoryCleanupBatchWindowEndTime​(java.lang.String wednesdayHistoryCleanupBatchWindowEndTime)
      • getThursdayHistoryCleanupBatchWindowStartTime

        public java.lang.String getThursdayHistoryCleanupBatchWindowStartTime()
      • setThursdayHistoryCleanupBatchWindowStartTime

        public void setThursdayHistoryCleanupBatchWindowStartTime​(java.lang.String thursdayHistoryCleanupBatchWindowStartTime)
      • getThursdayHistoryCleanupBatchWindowEndTime

        public java.lang.String getThursdayHistoryCleanupBatchWindowEndTime()
      • setThursdayHistoryCleanupBatchWindowEndTime

        public void setThursdayHistoryCleanupBatchWindowEndTime​(java.lang.String thursdayHistoryCleanupBatchWindowEndTime)
      • getFridayHistoryCleanupBatchWindowStartTime

        public java.lang.String getFridayHistoryCleanupBatchWindowStartTime()
      • setFridayHistoryCleanupBatchWindowStartTime

        public void setFridayHistoryCleanupBatchWindowStartTime​(java.lang.String fridayHistoryCleanupBatchWindowStartTime)
      • getFridayHistoryCleanupBatchWindowEndTime

        public java.lang.String getFridayHistoryCleanupBatchWindowEndTime()
      • setFridayHistoryCleanupBatchWindowEndTime

        public void setFridayHistoryCleanupBatchWindowEndTime​(java.lang.String fridayHistoryCleanupBatchWindowEndTime)
      • getSaturdayHistoryCleanupBatchWindowStartTime

        public java.lang.String getSaturdayHistoryCleanupBatchWindowStartTime()
      • setSaturdayHistoryCleanupBatchWindowStartTime

        public void setSaturdayHistoryCleanupBatchWindowStartTime​(java.lang.String saturdayHistoryCleanupBatchWindowStartTime)
      • getSaturdayHistoryCleanupBatchWindowEndTime

        public java.lang.String getSaturdayHistoryCleanupBatchWindowEndTime()
      • setSaturdayHistoryCleanupBatchWindowEndTime

        public void setSaturdayHistoryCleanupBatchWindowEndTime​(java.lang.String saturdayHistoryCleanupBatchWindowEndTime)
      • getSundayHistoryCleanupBatchWindowStartTime

        public java.lang.String getSundayHistoryCleanupBatchWindowStartTime()
      • setSundayHistoryCleanupBatchWindowStartTime

        public void setSundayHistoryCleanupBatchWindowStartTime​(java.lang.String sundayHistoryCleanupBatchWindowStartTime)
      • getSundayHistoryCleanupBatchWindowEndTime

        public java.lang.String getSundayHistoryCleanupBatchWindowEndTime()
      • setSundayHistoryCleanupBatchWindowEndTime

        public void setSundayHistoryCleanupBatchWindowEndTime​(java.lang.String sundayHistoryCleanupBatchWindowEndTime)
      • getHistoryCleanupBatchWindowStartTimeAsDate

        public java.util.Date getHistoryCleanupBatchWindowStartTimeAsDate()
      • setHistoryCleanupBatchWindowStartTimeAsDate

        public void setHistoryCleanupBatchWindowStartTimeAsDate​(java.util.Date historyCleanupBatchWindowStartTimeAsDate)
      • setHistoryCleanupBatchWindowEndTimeAsDate

        public void setHistoryCleanupBatchWindowEndTimeAsDate​(java.util.Date historyCleanupBatchWindowEndTimeAsDate)
      • getHistoryCleanupBatchWindowEndTimeAsDate

        public java.util.Date getHistoryCleanupBatchWindowEndTimeAsDate()
      • getHistoryCleanupBatchWindows

        public java.util.Map<java.lang.Integer,​BatchWindowConfiguration> getHistoryCleanupBatchWindows()
      • setHistoryCleanupBatchWindows

        public void setHistoryCleanupBatchWindows​(java.util.Map<java.lang.Integer,​BatchWindowConfiguration> historyCleanupBatchWindows)
      • getHistoryCleanupBatchSize

        public int getHistoryCleanupBatchSize()
      • setHistoryCleanupBatchSize

        public void setHistoryCleanupBatchSize​(int historyCleanupBatchSize)
      • getHistoryCleanupBatchThreshold

        public int getHistoryCleanupBatchThreshold()
      • setHistoryCleanupBatchThreshold

        public void setHistoryCleanupBatchThreshold​(int historyCleanupBatchThreshold)
      • isHistoryCleanupMetricsEnabled

        public boolean isHistoryCleanupMetricsEnabled()
        Checks if history cleanup metrics are enabled. This method returns true only if both historyCleanupMetricsEnabled and isMetricsEnabled are true
        Returns:
        true if both history cleanup metrics and general metrics are enabled, false otherwise.
      • setHistoryCleanupMetricsEnabled

        public void setHistoryCleanupMetricsEnabled​(boolean historyCleanupMetricsEnabled)
      • isHistoryCleanupEnabled

        public boolean isHistoryCleanupEnabled()
      • getHistoryTimeToLive

        public java.lang.String getHistoryTimeToLive()
      • setHistoryTimeToLive

        public void setHistoryTimeToLive​(java.lang.String historyTimeToLive)
      • getBatchOperationHistoryTimeToLive

        public java.lang.String getBatchOperationHistoryTimeToLive()
      • getHistoryCleanupDegreeOfParallelism

        public int getHistoryCleanupDegreeOfParallelism()
      • setHistoryCleanupDegreeOfParallelism

        public void setHistoryCleanupDegreeOfParallelism​(int historyCleanupDegreeOfParallelism)
      • setBatchOperationHistoryTimeToLive

        public void setBatchOperationHistoryTimeToLive​(java.lang.String batchOperationHistoryTimeToLive)
      • getBatchOperationsForHistoryCleanup

        public java.util.Map<java.lang.String,​java.lang.String> getBatchOperationsForHistoryCleanup()
      • setBatchOperationsForHistoryCleanup

        public void setBatchOperationsForHistoryCleanup​(java.util.Map<java.lang.String,​java.lang.String> batchOperationsForHistoryCleanup)
      • getParsedBatchOperationsForHistoryCleanup

        public java.util.Map<java.lang.String,​java.lang.Integer> getParsedBatchOperationsForHistoryCleanup()
      • setParsedBatchOperationsForHistoryCleanup

        public void setParsedBatchOperationsForHistoryCleanup​(java.util.Map<java.lang.String,​java.lang.Integer> parsedBatchOperationsForHistoryCleanup)
      • getHistoryCleanupJobLogTimeToLive

        public java.lang.String getHistoryCleanupJobLogTimeToLive()
      • setHistoryCleanupJobLogTimeToLive

        public ProcessEngineConfigurationImpl setHistoryCleanupJobLogTimeToLive​(java.lang.String historyCleanupJobLogTimeToLive)
      • getTaskMetricsTimeToLive

        public java.lang.String getTaskMetricsTimeToLive()
      • getParsedTaskMetricsTimeToLive

        public java.lang.Integer getParsedTaskMetricsTimeToLive()
      • setParsedTaskMetricsTimeToLive

        public ProcessEngineConfigurationImpl setParsedTaskMetricsTimeToLive​(java.lang.Integer parsedTaskMetricsTimeToLive)
      • setBatchWindowManager

        public void setBatchWindowManager​(BatchWindowManager batchWindowManager)
      • getHistoryRemovalTimeStrategy

        public java.lang.String getHistoryRemovalTimeStrategy()
      • getHistoryCleanupStrategy

        public java.lang.String getHistoryCleanupStrategy()
      • getFailedJobListenerMaxRetries

        public int getFailedJobListenerMaxRetries()
      • setFailedJobListenerMaxRetries

        public void setFailedJobListenerMaxRetries​(int failedJobListenerMaxRetries)
      • getFailedJobRetryTimeCycle

        public java.lang.String getFailedJobRetryTimeCycle()
      • setFailedJobRetryTimeCycle

        public void setFailedJobRetryTimeCycle​(java.lang.String failedJobRetryTimeCycle)
      • getLoginMaxAttempts

        public int getLoginMaxAttempts()
      • setLoginMaxAttempts

        public void setLoginMaxAttempts​(int loginMaxAttempts)
      • getLoginDelayFactor

        public int getLoginDelayFactor()
      • setLoginDelayFactor

        public void setLoginDelayFactor​(int loginDelayFactor)
      • getLoginDelayMaxTime

        public int getLoginDelayMaxTime()
      • setLoginDelayMaxTime

        public void setLoginDelayMaxTime​(int loginDelayMaxTime)
      • getLoginDelayBase

        public int getLoginDelayBase()
      • setLoginDelayBase

        public void setLoginDelayBase​(int loginInitialDelay)
      • getAdminGroups

        public java.util.List<java.lang.String> getAdminGroups()
      • setAdminGroups

        public void setAdminGroups​(java.util.List<java.lang.String> adminGroups)
      • getAdminUsers

        public java.util.List<java.lang.String> getAdminUsers()
      • setAdminUsers

        public void setAdminUsers​(java.util.List<java.lang.String> adminUsers)
      • getQueryMaxResultsLimit

        public int getQueryMaxResultsLimit()
      • getLoggingContextActivityId

        public java.lang.String getLoggingContextActivityId()
      • getLoggingContextActivityName

        public java.lang.String getLoggingContextActivityName()
      • setLoggingContextActivityName

        public ProcessEngineConfigurationImpl setLoggingContextActivityName​(java.lang.String loggingContextActivityName)
      • getLoggingContextApplicationName

        public java.lang.String getLoggingContextApplicationName()
      • setLoggingContextApplicationName

        public ProcessEngineConfigurationImpl setLoggingContextApplicationName​(java.lang.String loggingContextApplicationName)
      • getLoggingContextBusinessKey

        public java.lang.String getLoggingContextBusinessKey()
      • getLoggingContextProcessDefinitionId

        public java.lang.String getLoggingContextProcessDefinitionId()
      • setLoggingContextProcessDefinitionId

        public ProcessEngineConfigurationImpl setLoggingContextProcessDefinitionId​(java.lang.String loggingContextProcessDefinitionId)
      • getLoggingContextProcessDefinitionKey

        public java.lang.String getLoggingContextProcessDefinitionKey()
      • setLoggingContextProcessDefinitionKey

        public ProcessEngineConfigurationImpl setLoggingContextProcessDefinitionKey​(java.lang.String loggingContextProcessDefinitionKey)
      • getLoggingContextProcessInstanceId

        public java.lang.String getLoggingContextProcessInstanceId()
      • setLoggingContextProcessInstanceId

        public ProcessEngineConfigurationImpl setLoggingContextProcessInstanceId​(java.lang.String loggingContextProcessInstanceId)
      • getLoggingContextTenantId

        public java.lang.String getLoggingContextTenantId()
      • getLoggingContextEngineName

        public java.lang.String getLoggingContextEngineName()
      • getLogLevelBpmnStackTrace

        public java.lang.String getLogLevelBpmnStackTrace()
      • isEnableOptimisticLockingOnForeignKeyViolation

        public boolean isEnableOptimisticLockingOnForeignKeyViolation()
      • setEnableOptimisticLockingOnForeignKeyViolation

        public ProcessEngineConfigurationImpl setEnableOptimisticLockingOnForeignKeyViolation​(boolean enableOptimisticLockingOnForeignKeyViolation)
      • isDmnFeelEnableLegacyBehavior

        public boolean isDmnFeelEnableLegacyBehavior()
      • isDmnReturnBlankTableOutputAsNull

        public boolean isDmnReturnBlankTableOutputAsNull()
      • setDmnReturnBlankTableOutputAsNull

        public ProcessEngineConfigurationImpl setDmnReturnBlankTableOutputAsNull​(boolean dmnReturnBlankTableOutputAsNull)
      • isInitializeTelemetry

        public java.lang.Boolean isInitializeTelemetry()
      • getTelemetryEndpoint

        public java.lang.String getTelemetryEndpoint()
      • getTelemetryRequestRetries

        public int getTelemetryRequestRetries()
      • getTelemetryReportingPeriod

        public long getTelemetryReportingPeriod()
      • isTelemetryReporterActivate

        public boolean isTelemetryReporterActivate()
      • getTelemetryHttpConnector

        public org.camunda.connect.spi.Connector<? extends org.camunda.connect.spi.ConnectorRequest<?>> getTelemetryHttpConnector()
      • setTelemetryHttpConnector

        public ProcessEngineConfigurationImpl setTelemetryHttpConnector​(org.camunda.connect.spi.Connector<? extends org.camunda.connect.spi.ConnectorRequest<?>> telemetryHttp)
      • getTelemetryRequestTimeout

        public int getTelemetryRequestTimeout()
      • getCommandRetries

        public int getCommandRetries()
      • getExceptionCodeInterceptor

        protected ExceptionCodeInterceptor getExceptionCodeInterceptor()
        Returns:
        a exception code interceptor. The interceptor is not registered in case disableExceptionCode is configured to true.