Package org.camunda.bpm.engine.impl.cfg
Class ProcessEngineConfigurationImpl
java.lang.Object
org.camunda.bpm.engine.ProcessEngineConfiguration
org.camunda.bpm.engine.impl.cfg.ProcessEngineConfigurationImpl
- Direct Known Subclasses:
AbstractTransactionProcessEngineConfiguration
,SpringTransactionsProcessEngineConfiguration
,StandaloneProcessEngineConfiguration
- Author:
- Tom Baeyens
-
Field Summary
Modifier and TypeFieldDescriptionprotected CommandInterceptor
protected ArtifactFactory
used to create instances for listeners, JavaDelegates, etcprotected AuthorizationService
protected boolean
protected Map<String,
BatchJobHandler<?>> protected long
default priority for batch jobsprotected int
Number of jobs created by a batch seed job invocationprotected String
protected int
seconds to wait between polling for batch completionprotected BatchWindowManager
protected BpmnParseFactory
protected ExceptionCodeProvider
Holds the default implementation ofExceptionCodeProvider
.protected BusinessCalendarManager
protected int
static org.apache.ibatis.session.SqlSessionFactory
protected CacheFactory
protected CaseService
protected DefaultCmmnElementHandlerRegistry
protected boolean
When set to false, the following behavior changes: The automated schema maintenance (creating and dropping tables, see propertydatabaseSchemaUpdate
) does not cover the tables required for CMMN execution. CMMN resources are not deployed asCaseDefinition
to the engine. Tasks from CMMN cases are not returned by theTaskQuery
.protected CmmnHistoryEventProducer
protected CmmnTransformFactory
protected List<CommandChecker>
protected CommandContextFactory
protected CommandExecutor
Separate command executor to be used for db schema operations.protected CommandExecutor
this will be initialized during the configurationComplete()protected CommandExecutor
this will be initialized during the configurationComplete()protected List<CommandInterceptor>
protected List<CommandInterceptor>
protected int
Allows for specific commands to be retried when using CockroachDB.protected ConditionHandler
protected boolean
protected CorrelationHandler
protected static final String
protected List<BatchJobHandler<?>>
protected List<EventHandler>
protected ExceptionCodeProvider
Allows registering a custom implementation of aExceptionCodeProvider
allowing to provide custom exception codes.protected List<FormEngine>
protected Map<String,
Class<? extends FormFieldValidator>> protected List<AbstractFormFieldType>
protected List<HistoryEventHandler>
Allows users to add additionalHistoryEventHandler
instances to process history events.protected List<HistoryLevel>
a list of supported custom history levelsprotected List<IncidentHandler>
protected List<JobHandler>
protected List<PasswordEncryptor>
protected List<CmmnTransformListener>
protected List<CommandInterceptor>
protected List<CommandInterceptor>
protected List<MigratingActivityInstanceValidator>
protected List<MigrationActivityValidator>
protected List<MigrationInstructionValidator>
protected List<TypedValueSerializer>
protected List<CmmnTransformListener>
protected List<CommandInterceptor>
the configurable list which will beprocessed
to build thecommandExecutorTxRequired
protected List<CommandInterceptor>
the configurable list which will beprocessed
to build thecommandExecutorTxRequiresNew
protected List<MigratingActivityInstanceValidator>
protected List<MigrationActivityValidator>
protected List<MigrationInstructionValidator>
protected List<TypedValueSerializer>
protected RejectedJobsHandler
protected List<SessionFactory>
protected String
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-1062protected String
protected static Properties
static final String
static final String
protected DbEntityCacheKeyMapping
protected DbMetricsReporter
protected DbSqlSessionFactory
protected DecisionService
static final int
static final int
static final String
static final String
protected Charset
protected String
protected String
protected Permission
protected DelegateInterceptor
protected DeploymentCache
protected DeploymentHandlerFactory
protected boolean
Disables the default implementation ofExceptionCodeProvider
which allows overriding the reserved exception codes >ExceptionCodeInterceptor.MAX_CUSTOM_CODE
or <ExceptionCodeInterceptor.MIN_CUSTOM_CODE
.protected boolean
Disables theExceptionCodeInterceptor
and therefore the whole exception code feature.protected boolean
protected boolean
don't throw parsing exceptions for Camunda Forms if set to trueprotected ElProvider
protected boolean
When set to false, the following behavior changes: The automated schema maintenance (creating and dropping tables, see propertydatabaseSchemaUpdate
) does not cover the tables required for DMN execution. DMN resources are not deployed asDecisionDefinition
orDecisionRequirementsDefinition
to the engine.protected DmnEngine
protected DefaultDmnEngineConfiguration
protected List<FeelCustomFunctionProvider>
a list of DMN FEEL custom function providersprotected boolean
Enable DMN FEEL legacy behaviorprotected DmnHistoryEventProducer
protected boolean
Controls whether blank DMN table outputs are swallowed or returned asnull
.protected boolean
If true, the defaultDbHistoryEventHandler
will be included in the list of history event handlers.protected boolean
handling of expressions submitted via API; can be used as guards against remote code executionprotected boolean
protected boolean
protected boolean
protected boolean
protected boolean
Historic instance permissions are disabled by defaultprotected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
If false, disables XML eXternal Entity (XXE) Processing.protected boolean
Feature flag that fails the deployment of process, decision, and case resources if their historyTimeToLive isnull
.protected Map<String,
EventHandler> protected ExpressionManager
protected PriorityProvider<ExternalTaskActivityBehavior>
protected ExternalTaskService
protected FailedJobCommandFactory
protected String
protected VariableSerializerFactory
protected FilterService
protected boolean
protected Map<String,
FormEngine> protected FormService
protected FormTypes
protected FormValidators
protected String
protected String
protected String
protected Date
protected Map<Integer,
BatchWindowConfiguration> protected String
protected Date
protected int
Specifies how often a cleanup job will be executed before an incident is raised.protected int
protected boolean
Controls whether engine participates in history cleanup or not.protected String
Time to live for historic job log entries written by history cleanup jobs.protected long
Default priority for history cleanup jobs.protected String
protected HistoryEventHandler
As an instance ofCompositeHistoryEventHandler
it contains all the provided history event handlers that process history events.protected HistoryEventProducer
protected HistoryLevel
static final int
static final int
static final int
static final int
protected List<HistoryLevel>
a list of supported history levelsprotected HistoryRemovalTimeProvider
protected String
protected HistoryService
protected String
protected String
the historic job log host nameprotected HostnameProvider
protected SessionFactory
session factory to be used for obtaining identity provider sessionsprotected IdentityService
protected IdGenerator
protected DataSource
protected String
protected boolean
protected Map<String,
IncidentHandler> protected boolean
Sets the initial property value of telemetry configuration only once when it has never been enabled/disabled before.protected int
Number of invocations executed by a single batch jobMap to set an individual value for each batch type to control the invocations per batch job.protected boolean
protected boolean
If true, the incident handlers init asCompositeIncidentHandler
and multiple incident handlers can be added for the same Incident type.protected boolean
protected boolean
Allows setting whether the process engine should try reusing the first level entity cache.protected boolean
protected boolean
protected boolean
protected boolean
If true the process engine will attempt to acquire an exclusive lock before creating a deployment.protected boolean
If true then several deployments will be processed strictly sequentially.protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
Determines if the telemetry reporter thread runs.protected boolean
protected boolean
protected JobExecutor
protected long
protected long
protected Map<String,
JobHandler> protected PriorityProvider<JobDeclaration<?,
?>> protected static final ConfigurationLogger
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected int
protected int
protected int
protected int
protected String
protected ManagementService
protected static final String
protected MetricsRegistry
the metrics registryprotected MetricsReporterIdProvider
protected List<MigratingActivityInstanceValidator>
protected List<MigratingCompensationInstanceValidator>
protected List<MigratingTransitionInstanceValidator>
protected MigrationActivityMatcher
protected MigrationInstructionGenerator
protected List<MigrationInstructionValidator>
protected String
protected String
protected static final String
protected OptimizeService
protected Integer
protected PasswordEncryptor
protected PasswordManager
protected PermissionProvider
protected static final String
protected List<BpmnParseListener>
protected List<BpmnParseListener>
protected ProcessApplicationManager
protected ProcessEngineImpl
The process engine created by this configuration.protected List<ProcessEnginePlugin>
protected static final String
protected int
protected boolean
Controls whether the time cycle is re-evaluated when due.protected int
Size of batch in which removal time data will be updated.protected RepositoryService
protected List<ResolverFactory>
protected ResourceAuthorizationProvider
protected boolean
If true, user operation log entries are only written if there is an authenticated user present in the context.protected RuntimeService
protected SaltGenerator
protected String
protected String
protected String
protected ScriptEngineResolver
protected List<ScriptEnvResolver>
protected ScriptFactory
protected ScriptingEngines
protected ScriptingEnvironment
protected Map<Class<?>,
SessionFactory> protected org.apache.ibatis.session.SqlSessionFactory
protected boolean
When set tofalse
, the following behavior changes: Standalone tasks can no longer be created via API. Standalone tasks are not returned by the TaskQuery.protected String
protected String
protected String
protected TaskService
protected TelemetryDataImpl
protected String
The endpoint which telemetry is sent toprotected org.camunda.connect.spi.Connector<? extends org.camunda.connect.spi.ConnectorRequest<?>>
http client used for sending telemetryprotected TelemetryReporter
protected long
default: once every 24 hoursprotected int
The number of times the telemetry request is retried in case it failsprotected int
the connection and socket timeout configuration of the telemetry request in milliseconds default: 15 secondsprotected TenantIdProvider
protected String
protected String
protected TransactionContextFactory
protected org.apache.ibatis.transaction.TransactionFactory
protected String
protected String
protected VariableSerializers
protected boolean
protected String
protected String
protected String
Fields inherited from class org.camunda.bpm.engine.ProcessEngineConfiguration
AUTHORIZATION_CHECK_REVOKE_ALWAYS, AUTHORIZATION_CHECK_REVOKE_AUTO, AUTHORIZATION_CHECK_REVOKE_NEVER, authorizationCheckRevokes, authorizationEnabled, authorizationEnabledForCustomCode, bootstrapCommand, classLoader, createIncidentOnFailedJobEnabled, databaseSchemaUpdate, databaseType, databaseVendor, databaseVersion, dataSource, dataSourceJndiName, DB_SCHEMA_UPDATE_CREATE_DROP, DB_SCHEMA_UPDATE_FALSE, DB_SCHEMA_UPDATE_TRUE, defaultNumberOfRetries, defaultUserPermissionNameForTask, deserializationAllowedClasses, deserializationAllowedPackages, deserializationTypeValidationEnabled, deserializationTypeValidator, disabledPermissions, enableCmdExceptionLogging, enableExceptionsAfterUnhandledBpmnError, enablePasswordPolicy, enableReducedJobExceptionLogging, enforceSpecificVariablePermission, ensureJobDueDateNotNull, generalResourceWhitelistPattern, groupResourceWhitelistPattern, hintJobExecutor, history, HISTORY_ACTIVITY, HISTORY_AUDIT, HISTORY_AUTO, HISTORY_CLEANUP_STRATEGY_END_TIME_BASED, HISTORY_CLEANUP_STRATEGY_REMOVAL_TIME_BASED, HISTORY_DEFAULT, HISTORY_FULL, HISTORY_NONE, HISTORY_REMOVAL_TIME_STRATEGY_END, HISTORY_REMOVAL_TIME_STRATEGY_NONE, HISTORY_REMOVAL_TIME_STRATEGY_START, HISTORY_VARIABLE, historyLevelCommand, idBlockSize, installationId, jdbcBatchProcessing, jdbcDriver, jdbcMaxActiveConnections, jdbcMaxCheckoutTime, jdbcMaxIdleConnections, jdbcMaxWaitTime, jdbcPassword, jdbcPingConnectionNotUsedFor, jdbcPingEnabled, jdbcPingQuery, jdbcStatementTimeout, jdbcUrl, jdbcUsername, jobExecutorAcquireByDueDate, jobExecutorAcquireByPriority, jobExecutorActivate, jobExecutorDeploymentAware, jobExecutorPreferTimerJobs, mailServerDefaultFrom, mailServerHost, mailServerPassword, mailServerPort, mailServerUsername, passwordPolicy, processEngineName, producePrioritizedExternalTasks, producePrioritizedJobs, schemaOperationsCommand, skipHistoryOptimisticLockingExceptions, skipOutputMappingOnCanceledActivities, telemetryRegistry, tenantCheckEnabled, tenantResourceWhitelistPattern, transactionsExternallyManaged, userResourceWhitelistPattern, useTLS, valueTypeResolver
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addIncidentHandler
(IncidentHandler incidentHandler) protected void
addSessionFactory
(SessionFactory sessionFactory) protected String
checkForCrdb
(Connection connection) protected String
checkForMariaDb
(DatabaseMetaData databaseMetaData, String databaseName) The product name of mariadb is still 'MySQL'.void
close()
protected void
ensurePrefixAndSchemaFitToegether
(String prefix, String schema) When providing a schema and a prefix the prefix has to be the schema ending with a dot.Map<String,
BatchJobHandler<?>> long
int
int
getBeans()
protected BpmnDeployer
protected CamundaFormDefinitionDeployer
protected CmmnDeployer
int
protected CrdbTransactionRetryInterceptor
List<BatchJobHandler<?>>
Map<String,
Class<? extends FormFieldValidator>> protected DecisionDefinitionDeployer
protected DecisionRequirementsDefinitionDeployer
protected List<BpmnParseListener>
protected List<CmmnTransformListener>
protected abstract Collection<? extends CommandInterceptor>
protected abstract Collection<? extends CommandInterceptor>
protected static Properties
protected Collection<? extends Deployer>
boolean
boolean
getEventHandler
(String eventType) protected ExceptionCodeInterceptor
int
int
int
int
int
long
getIncidentHandler
(String incidentType) int
long
long
int
int
int
int
Deprecated.protected InputStream
Deprecated.usegetCustomPostBPMNParseListeners()
instead.Deprecated.usegetCustomPreBPMNParseListeners()
instead.int
int
Map<Class<?>,
SessionFactory> org.apache.ibatis.session.SqlSessionFactory
org.camunda.connect.spi.Connector<? extends org.camunda.connect.spi.ConnectorRequest<?>>
long
int
int
org.apache.ibatis.transaction.TransactionFactory
protected void
init()
protected void
protected void
protected void
protected void
void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
void
protected void
initDatabaseVendorAndVersion
(DatabaseMetaData databaseMetaData) protected void
protected void
protected void
initDefaultMetrics
(MetricsRegistry metricsRegistry) protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
void
protected void
protected void
protected void
protected void
protected void
protected void
void
protected void
protected void
protected void
protected void
void
void
void
void
protected void
protected void
protected void
protected void
protected void
protected CommandInterceptor
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
initService
(Object service) protected void
protected void
protected void
static void
initSqlSessionFactoryProperties
(Properties properties, String databaseTablePrefix, String databaseType) protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
Checks if history cleanup metrics are enabled.boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
void
setAdminGroups
(List<String> adminGroups) void
setAdminUsers
(List<String> adminUsers) setArtifactFactory
(ArtifactFactory artifactFactory) void
setAuthorizationService
(AuthorizationService authorizationService) void
setAutoStoreScriptVariables
(boolean autoStoreScriptVariables) If set to true, the process engine will save all script variables (created from Java Script, Groovy ...) as process variables.void
setBatchHandlers
(Map<String, BatchJobHandler<?>> batchHandlers) void
setBatchJobPriority
(long batchJobPriority) void
setBatchJobsPerSeed
(int batchJobsPerSeed) void
setBatchOperationHistoryTimeToLive
(String batchOperationHistoryTimeToLive) void
setBatchOperationsForHistoryCleanup
(Map<String, String> batchOperationsForHistoryCleanup) void
setBatchPollTime
(int batchPollTime) void
setBatchWindowManager
(BatchWindowManager batchWindowManager) void
setBpmnParseFactory
(BpmnParseFactory bpmnParseFactory) setBpmnStacktraceVerbose
(boolean isBpmnStacktraceVerbose) void
setBuiltinExceptionCodeProvider
(ExceptionCodeProvider builtinExceptionCodeProvider) setBusinessCalendarManager
(BusinessCalendarManager businessCalendarManager) void
setCacheCapacity
(int cacheCapacity) void
setCacheFactory
(CacheFactory cacheFactory) void
setCaseService
(CaseService caseService) setClassLoader
(ClassLoader classLoader) void
setCmmnEnabled
(boolean cmmnEnabled) setCmmnHistoryEventProducer
(CmmnHistoryEventProducer cmmnHistoryEventProducer) void
setCommandCheckers
(List<CommandChecker> commandCheckers) setCommandContextFactory
(CommandContextFactory commandContextFactory) void
setCommandExecutorSchemaOperations
(CommandExecutor commandExecutorSchemaOperations) setCommandExecutorTxRequired
(CommandExecutor commandExecutorTxRequired) setCommandExecutorTxRequiresNew
(CommandExecutor commandExecutorTxRequiresNew) setCommandInterceptorsTxRequired
(List<CommandInterceptor> commandInterceptorsTxRequired) setCommandInterceptorsTxRequiresNew
(List<CommandInterceptor> commandInterceptorsTxRequiresNew) setCommandRetries
(int commandRetries) setCompositeIncidentHandlersEnabled
(boolean compositeIncidentHandlersEnabled) void
setConditionHandler
(ConditionHandler conditionHandler) setConfigureScriptEngineHostAccess
(boolean configureScriptEngineHostAccess) void
setCorrelationHandler
(CorrelationHandler correlationHandler) setCreateDiagramOnDeploy
(boolean createDiagramOnDeploy) void
setCustomBatchJobHandlers
(List<BatchJobHandler<?>> customBatchJobHandlers) void
setCustomEventHandlers
(List<EventHandler> customEventHandlers) void
setCustomExceptionCodeProvider
(ExceptionCodeProvider customExceptionCodeProvider) Setter to register a custom implementation of aExceptionCodeProvider
allowing to provide custom error codes.setCustomFormEngines
(List<FormEngine> customFormEngines) void
setCustomFormFieldValidators
(Map<String, Class<? extends FormFieldValidator>> customFormFieldValidators) setCustomFormTypes
(List<AbstractFormFieldType> customFormTypes) void
setCustomHistoryEventHandlers
(List<HistoryEventHandler> customHistoryEventHandlers) setCustomHistoryLevels
(List<HistoryLevel> customHistoryLevels) void
setCustomIncidentHandlers
(List<IncidentHandler> customIncidentHandlers) setCustomJobHandlers
(List<JobHandler> customJobHandlers) void
setCustomPasswordChecker
(List<PasswordEncryptor> customPasswordChecker) void
setCustomPostBPMNParseListeners
(List<BpmnParseListener> postParseListeners) void
setCustomPostCmmnTransformListeners
(List<CmmnTransformListener> customPostCmmnTransformListeners) setCustomPostCommandInterceptorsTxRequired
(List<CommandInterceptor> customPostCommandInterceptorsTxRequired) setCustomPostCommandInterceptorsTxRequiresNew
(List<CommandInterceptor> customPostCommandInterceptorsTxRequiresNew) setCustomPostDeployers
(List<Deployer> customPostDeployers) void
setCustomPostMigratingActivityInstanceValidators
(List<MigratingActivityInstanceValidator> customPostMigratingActivityInstanceValidators) void
setCustomPostMigrationActivityValidators
(List<MigrationActivityValidator> customPostMigrationActivityValidators) void
setCustomPostMigrationInstructionValidators
(List<MigrationInstructionValidator> customPostMigrationInstructionValidators) setCustomPostVariableSerializers
(List<TypedValueSerializer> customPostVariableTypes) void
setCustomPreBPMNParseListeners
(List<BpmnParseListener> preParseListeners) void
setCustomPreCmmnTransformListeners
(List<CmmnTransformListener> customPreCmmnTransformListeners) setCustomPreCommandInterceptorsTxRequired
(List<CommandInterceptor> customPreCommandInterceptorsTxRequired) setCustomPreCommandInterceptorsTxRequiresNew
(List<CommandInterceptor> customPreCommandInterceptorsTxRequiresNew) setCustomPreDeployers
(List<Deployer> customPreDeployers) void
setCustomPreMigratingActivityInstanceValidators
(List<MigratingActivityInstanceValidator> customPreMigratingActivityInstanceValidators) void
setCustomPreMigrationActivityValidators
(List<MigrationActivityValidator> customPreMigrationActivityValidators) void
setCustomPreMigrationInstructionValidators
(List<MigrationInstructionValidator> customPreMigrationInstructionValidators) setCustomPreVariableSerializers
(List<TypedValueSerializer> customPreVariableTypes) setCustomRejectedJobsHandler
(RejectedJobsHandler customRejectedJobsHandler) setCustomSessionFactories
(List<SessionFactory> customSessionFactories) void
setDatabaseSchema
(String databaseSchema) setDatabaseSchemaUpdate
(String databaseSchemaUpdate) setDatabaseTablePrefix
(String databaseTablePrefix) Allows configuring a database table prefix which is used for all runtime operations of the process engine.setDatabaseType
(String databaseType) setDataSource
(DataSource dataSource) setDbEntityCacheKeyMapping
(DbEntityCacheKeyMapping dbEntityCacheKeyMapping) setDbEntityCacheReuseEnabled
(boolean isDbEntityCacheReuseEnabled) void
setDbHistoryUsed
(boolean isDbHistoryUsed) void
setDbIdentityUsed
(boolean isDbIdentityUsed) setDbMetricsReporter
(DbMetricsReporter dbMetricsReporter) setDbMetricsReporterActivate
(boolean isDbMetricsReporterEnabled) setDbSqlSessionFactory
(DbSqlSessionFactory dbSqlSessionFactory) void
setDecisionService
(DecisionService decisionService) setDefaultCharset
(Charset defautlCharset) setDefaultCharsetName
(String defaultCharsetName) setDefaultSerializationFormat
(String defaultSerializationFormat) setDefaultUserPermissionForTask
(Permission defaultUserPermissionForTask) setDelegateInterceptor
(DelegateInterceptor delegateInterceptor) setDeployers
(List<Deployer> deployers) void
setDeploymentCache
(DeploymentCache deploymentCache) setDeploymentHandlerFactory
(DeploymentHandlerFactory deploymentHandlerFactory) void
setDeploymentLockUsed
(boolean isDeploymentLockUsed) If set to true, the process engine will acquire an exclusive lock when creating a deployment.void
setDeploymentSynchronized
(boolean deploymentSynchronized) Sets if deployment processing must be synchronized.void
setDisableBuiltinExceptionCodeProvider
(boolean disableBuiltinExceptionCodeProvider) Setter to disables the default implementation ofExceptionCodeProvider
which allows overriding the reserved exception codes >ExceptionCodeInterceptor.MAX_CUSTOM_CODE
or <ExceptionCodeInterceptor.MIN_CUSTOM_CODE
.void
setDisableExceptionCode
(boolean disableExceptionCode) Setter to disables theExceptionCodeInterceptor
and therefore the whole exception code feature.void
setDisableStrictCallActivityValidation
(boolean disableStrictCallActivityValidation) setDisableStrictCamundaFormParsing
(boolean disableStrictCamundaFormParsing) setDmnElProvider
(ElProvider elProvider) void
setDmnEnabled
(boolean dmnEnabled) void
setDmnEngine
(DmnEngine dmnEngine) void
setDmnEngineConfiguration
(DefaultDmnEngineConfiguration dmnEngineConfiguration) setDmnFeelCustomFunctionProviders
(List<FeelCustomFunctionProvider> dmnFeelCustomFunctionProviders) setDmnFeelEnableLegacyBehavior
(boolean dmnFeelEnableLegacyBehavior) setDmnHistoryEventProducer
(DmnHistoryEventProducer dmnHistoryEventProducer) setDmnReturnBlankTableOutputAsNull
(boolean dmnReturnBlankTableOutputAsNull) void
setEnableDefaultDbHistoryEventHandler
(boolean enableDefaultDbHistoryEventHandler) void
setEnableExpressionsInAdhocQueries
(boolean enableExpressionsInAdhocQueries) void
setEnableExpressionsInStoredQueries
(boolean enableExpressionsInStoredQueries) void
setEnableFetchProcessDefinitionDescription
(boolean enableFetchProcessDefinitionDescription) setEnableFetchScriptEngineFromProcessApplication
(boolean enable) 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.setEnableHistoricInstancePermissions
(boolean enable) setEnableOptimisticLockingOnForeignKeyViolation
(boolean enableOptimisticLockingOnForeignKeyViolation) 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.setEnableScriptEngineCaching
(boolean enableScriptEngineCaching) setEnableScriptEngineLoadExternalResources
(boolean enableScriptEngineLoadExternalResources) setEnableScriptEngineNashornCompatibility
(boolean enableScriptEngineNashornCompatibility) void
setEnableXxeProcessing
(boolean enableXxeProcessing) setEnforceHistoryTimeToLive
(boolean enforceHistoryTimeToLive) void
setEnvScriptResolvers
(List<ScriptEnvResolver> scriptEnvResolvers) void
setEventHandlers
(Map<String, EventHandler> eventHandlers) void
setExecutionTreePrefetchEnabled
(boolean isExecutionTreePrefetchingEnabled) setExpressionManager
(ExpressionManager expressionManager) void
setExternalTaskPriorityProvider
(PriorityProvider<ExternalTaskActivityBehavior> externalTaskPriorityProvider) void
setExternalTaskService
(ExternalTaskService externalTaskService) setFailedJobCommandFactory
(FailedJobCommandFactory failedJobCommandFactory) void
setFailedJobListenerMaxRetries
(int failedJobListenerMaxRetries) void
setFailedJobRetryTimeCycle
(String failedJobRetryTimeCycle) void
setFallbackSerializerFactory
(VariableSerializerFactory fallbackSerializerFactory) void
setFilterService
(FilterService filterService) setForceCloseMybatisConnectionPool
(boolean forceCloseMybatisConnectionPool) setFormEngines
(Map<String, FormEngine> formEngines) setFormService
(FormService formService) setFormTypes
(FormTypes formTypes) void
setFormValidators
(FormValidators formValidators) void
setFridayHistoryCleanupBatchWindowEndTime
(String fridayHistoryCleanupBatchWindowEndTime) void
setFridayHistoryCleanupBatchWindowStartTime
(String fridayHistoryCleanupBatchWindowStartTime) setHistory
(String history) void
setHistoryCleanupBatchSize
(int historyCleanupBatchSize) void
setHistoryCleanupBatchThreshold
(int historyCleanupBatchThreshold) void
setHistoryCleanupBatchWindowEndTime
(String historyCleanupBatchWindowEndTime) void
setHistoryCleanupBatchWindowEndTimeAsDate
(Date historyCleanupBatchWindowEndTimeAsDate) void
setHistoryCleanupBatchWindows
(Map<Integer, BatchWindowConfiguration> historyCleanupBatchWindows) void
setHistoryCleanupBatchWindowStartTime
(String historyCleanupBatchWindowStartTime) void
setHistoryCleanupBatchWindowStartTimeAsDate
(Date historyCleanupBatchWindowStartTimeAsDate) setHistoryCleanupDefaultNumberOfRetries
(int historyCleanupDefaultNumberOfRetries) void
setHistoryCleanupDegreeOfParallelism
(int historyCleanupDegreeOfParallelism) setHistoryCleanupEnabled
(boolean historyCleanupEnabled) setHistoryCleanupJobLogTimeToLive
(String historyCleanupJobLogTimeToLive) setHistoryCleanupJobPriority
(long historyCleanupJobPriority) void
setHistoryCleanupMetricsEnabled
(boolean historyCleanupMetricsEnabled) setHistoryCleanupStrategy
(String historyCleanupStrategy) setHistoryEventHandler
(HistoryEventHandler historyEventHandler) setHistoryEventProducer
(HistoryEventProducer historyEventProducer) void
setHistoryLevel
(HistoryLevel historyLevel) setHistoryRemovalTimeProvider
(HistoryRemovalTimeProvider removalTimeProvider) setHistoryRemovalTimeStrategy
(String removalTimeStrategy) setHistoryService
(HistoryService historyService) void
setHistoryTimeToLive
(String historyTimeToLive) setHostname
(String hostname) setHostnameProvider
(HostnameProvider hostnameProvider) setIdBlockSize
(int idBlockSize) void
setIdentityProviderSessionFactory
(SessionFactory identityProviderSessionFactory) setIdentityService
(IdentityService identityService) setIdGenerator
(IdGenerator idGenerator) void
setIdGeneratorDataSource
(DataSource idGeneratorDataSource) void
setIdGeneratorDataSourceJndiName
(String idGeneratorDataSourceJndiName) void
setImplicitVariableUpdateDetectionEnabled
(boolean newValue) void
setIncidentHandlers
(Map<String, IncidentHandler> incidentHandlers) setInitializeTelemetry
(boolean telemetryInitialized) void
setInvocationsPerBatchJob
(int invocationsPerBatchJob) setInvocationsPerBatchJobByBatchType
(Map<String, Integer> invocationsPerBatchJobByBatchType) setInvokeCustomVariableListeners
(boolean isInvokeCustomVariableListeners) void
setJavaSerializationFormatEnabled
(boolean javaSerializationFormatEnabled) setJdbcDriver
(String jdbcDriver) setJdbcMaxActiveConnections
(int jdbcMaxActiveConnections) setJdbcMaxCheckoutTime
(int jdbcMaxCheckoutTime) setJdbcMaxIdleConnections
(int jdbcMaxIdleConnections) setJdbcMaxWaitTime
(int jdbcMaxWaitTime) setJdbcPassword
(String jdbcPassword) setJdbcPingConnectionNotUsedFor
(int jdbcPingNotUsedFor) setJdbcPingEnabled
(boolean jdbcPingEnabled) setJdbcPingQuery
(String jdbcPingQuery) setJdbcUrl
(String jdbcUrl) setJdbcUsername
(String jdbcUsername) setJobExecutor
(JobExecutor jobExecutor) setJobExecutorActivate
(boolean jobExecutorActivate) setJobExecutorPriorityRangeMax
(long jobExecutorPriorityRangeMax) setJobExecutorPriorityRangeMin
(long jobExecutorPriorityRangeMin) setJobHandlers
(Map<String, JobHandler> jobHandlers) void
setJobPriorityProvider
(PriorityProvider<JobDeclaration<?, ?>> jobPriorityProvider) setLoggingContextActivityId
(String loggingContextActivityId) setLoggingContextActivityName
(String loggingContextActivityName) setLoggingContextApplicationName
(String loggingContextApplicationName) setLoggingContextBusinessKey
(String loggingContextBusinessKey) setLoggingContextEngineName
(String loggingContextEngineName) setLoggingContextProcessDefinitionId
(String loggingContextProcessDefinitionId) setLoggingContextProcessDefinitionKey
(String loggingContextProcessDefinitionKey) setLoggingContextProcessInstanceId
(String loggingContextProcessInstanceId) setLoggingContextTenantId
(String loggingContextTenantId) void
setLoginDelayBase
(int loginInitialDelay) void
setLoginDelayFactor
(int loginDelayFactor) void
setLoginDelayMaxTime
(int loginDelayMaxTime) void
setLoginMaxAttempts
(int loginMaxAttempts) setLogLevelBpmnStackTrace
(String logLevelBpmnStackTrace) setMailServerDefaultFrom
(String mailServerDefaultFrom) setMailServerHost
(String mailServerHost) setMailServerPassword
(String mailServerPassword) setMailServerPort
(int mailServerPort) setMailServerUsername
(String mailServerUsername) setMailServerUseTLS
(boolean useTLS) setManagementService
(ManagementService managementService) setMetricsEnabled
(boolean isMetricsEnabled) setMetricsRegistry
(MetricsRegistry metricsRegistry) setMetricsReporterIdProvider
(MetricsReporterIdProvider metricsReporterIdProvider) Deprecated.usesetHostnameProvider(HostnameProvider)
instead.void
setMigratingActivityInstanceValidators
(List<MigratingActivityInstanceValidator> migratingActivityInstanceValidators) void
setMigrationActivityMatcher
(MigrationActivityMatcher migrationActivityMatcher) void
setMigrationInstructionGenerator
(MigrationInstructionGenerator migrationInstructionGenerator) void
setMigrationInstructionValidators
(List<MigrationInstructionValidator> migrationInstructionValidators) void
setMondayHistoryCleanupBatchWindowEndTime
(String mondayHistoryCleanupBatchWindowEndTime) void
setMondayHistoryCleanupBatchWindowStartTime
(String mondayHistoryCleanupBatchWindowStartTime) void
setParsedBatchOperationsForHistoryCleanup
(Map<String, Integer> parsedBatchOperationsForHistoryCleanup) setParsedTaskMetricsTimeToLive
(Integer parsedTaskMetricsTimeToLive) void
setPasswordEncryptor
(PasswordEncryptor passwordEncryptor) void
setPasswordManager
(PasswordManager passwordManager) void
setPermissionProvider
(PermissionProvider permissionProvider) void
setPostParseListeners
(List<BpmnParseListener> postParseListeners) void
setPreParseListeners
(List<BpmnParseListener> preParseListeners) void
setProcessApplicationManager
(ProcessApplicationManager processApplicationManager) setProcessEngineName
(String processEngineName) void
setProcessEnginePlugins
(List<ProcessEnginePlugin> processEnginePlugins) setQueryMaxResultsLimit
(int queryMaxResultsLimit) setReevaluateTimeCycleWhenDue
(boolean reevaluateTimeCycleWhenDue) void
setRegisteredDeployments
(Set<String> registeredDeployments) setRemovalTimeUpdateChunkSize
(int removalTimeUpdateChunkSize) setRepositoryService
(RepositoryService repositoryService) void
setResolverFactories
(List<ResolverFactory> resolverFactories) void
setResourceAuthorizationProvider
(ResourceAuthorizationProvider resourceAuthorizationProvider) setRestrictUserOperationLogToAuthenticatedUsers
(boolean restrictUserOperationLogToAuthenticatedUsers) setRuntimeService
(RuntimeService runtimeService) void
setSaltGenerator
(SaltGenerator saltGenerator) void
setSaturdayHistoryCleanupBatchWindowEndTime
(String saturdayHistoryCleanupBatchWindowEndTime) void
setSaturdayHistoryCleanupBatchWindowStartTime
(String saturdayHistoryCleanupBatchWindowStartTime) setScriptEngineNameJavaScript
(String scriptEngineNameJavaScript) setScriptEngineResolver
(ScriptEngineResolver scriptEngineResolver) void
setScriptFactory
(ScriptFactory scriptFactory) setScriptingEngines
(ScriptingEngines scriptingEngines) void
setScriptingEnvironment
(ScriptingEnvironment scriptingEnvironment) setSessionFactories
(Map<Class<?>, SessionFactory> sessionFactories) setSqlSessionFactory
(org.apache.ibatis.session.SqlSessionFactory sqlSessionFactory) setStandaloneTasksEnabled
(boolean standaloneTasksEnabled) void
setSundayHistoryCleanupBatchWindowEndTime
(String sundayHistoryCleanupBatchWindowEndTime) void
setSundayHistoryCleanupBatchWindowStartTime
(String sundayHistoryCleanupBatchWindowStartTime) setTaskMetricsEnabled
(boolean isTaskMetricsEnabled) setTaskMetricsTimeToLive
(String taskMetricsTimeToLive) setTaskService
(TaskService taskService) setTelemetryData
(TelemetryDataImpl telemetryData) setTelemetryEndpoint
(String telemetryEndpoint) setTelemetryHttpConnector
(org.camunda.connect.spi.Connector<? extends org.camunda.connect.spi.ConnectorRequest<?>> telemetryHttp) setTelemetryReporter
(TelemetryReporter telemetryReporter) setTelemetryReporterActivate
(boolean isTelemetryReporterActivate) setTelemetryReportingPeriod
(long telemetryReportingPeriod) setTelemetryRequestRetries
(int telemetryRequestRetries) setTelemetryRequestTimeout
(int telemetryRequestTimeout) setTenantIdProvider
(TenantIdProvider tenantIdProvider) void
setThursdayHistoryCleanupBatchWindowEndTime
(String thursdayHistoryCleanupBatchWindowEndTime) void
setThursdayHistoryCleanupBatchWindowStartTime
(String thursdayHistoryCleanupBatchWindowStartTime) setTransactionContextFactory
(TransactionContextFactory transactionContextFactory) setTransactionFactory
(org.apache.ibatis.transaction.TransactionFactory transactionFactory) setTransactionsExternallyManaged
(boolean transactionsExternallyManaged) void
setTuesdayHistoryCleanupBatchWindowEndTime
(String tuesdayHistoryCleanupBatchWindowEndTime) void
setTuesdayHistoryCleanupBatchWindowStartTime
(String tuesdayHistoryCleanupBatchWindowStartTime) setUseSharedSqlSessionFactory
(boolean isUseSharedSqlSessionFactory) setVariableTypes
(VariableSerializers variableSerializers) void
setWebappsAuthenticationLoggingEnabled
(boolean webappsAuthenticationLoggingEnabled) void
setWednesdayHistoryCleanupBatchWindowEndTime
(String wednesdayHistoryCleanupBatchWindowEndTime) void
setWednesdayHistoryCleanupBatchWindowStartTime
(String wednesdayHistoryCleanupBatchWindowStartTime) setWsSyncFactoryClassName
(String wsSyncFactoryClassName) Methods inherited from class org.camunda.bpm.engine.ProcessEngineConfiguration
createProcessEngineConfigurationFromInputStream, createProcessEngineConfigurationFromInputStream, createProcessEngineConfigurationFromResource, createProcessEngineConfigurationFromResource, createProcessEngineConfigurationFromResourceDefault, createStandaloneInMemProcessEngineConfiguration, createStandaloneProcessEngineConfiguration, getAuthorizationCheckRevokes, getClassLoader, getDatabaseSchemaUpdate, getDatabaseType, getDatabaseVendor, getDatabaseVersion, getDataSource, getDataSourceJndiName, getDefaultNumberOfRetries, getDefaultUserPermissionNameForTask, getDeserializationAllowedClasses, getDeserializationAllowedPackages, getDeserializationTypeValidator, getDisabledPermissions, getGeneralResourceWhitelistPattern, getGroupResourceWhitelistPattern, getHistory, getHistoryLevelCommand, getIdBlockSize, getInstallationId, getJdbcDriver, getJdbcMaxActiveConnections, getJdbcMaxCheckoutTime, getJdbcMaxIdleConnections, getJdbcMaxWaitTime, getJdbcPassword, getJdbcPingConnectionNotUsedFor, getJdbcPingQuery, getJdbcStatementTimeout, getJdbcUrl, getJdbcUsername, getMailServerDefaultFrom, getMailServerHost, getMailServerPassword, getMailServerPort, getMailServerUsername, getMailServerUseTLS, getPasswordPolicy, getProcessEngineBootstrapCommand, getSchemaOperationsCommand, getTelemetryRegistry, getTenantResourceWhitelistPattern, getUserResourceWhitelistPattern, getValueTypeResolver, isAuthorizationEnabled, isAuthorizationEnabledForCustomCode, isCreateIncidentOnFailedJobEnabled, isDeserializationTypeValidationEnabled, isEnableCmdExceptionLogging, isEnableExceptionsAfterUnhandledBpmnError, isEnablePasswordPolicy, isEnableReducedJobExceptionLogging, isEnforceSpecificVariablePermission, isEnsureJobDueDateNotNull, isHintJobExecutor, isJdbcBatchProcessing, isJdbcPingEnabled, isJobExecutorAcquireByDueDate, isJobExecutorAcquireByPriority, isJobExecutorActivate, isJobExecutorDeploymentAware, isJobExecutorPreferTimerJobs, isProducePrioritizedExternalTasks, isProducePrioritizedJobs, isSkipHistoryOptimisticLockingExceptions, isSkipOutputMappingOnCanceledActivities, isTenantCheckEnabled, isTransactionsExternallyManaged, setAuthorizationCheckRevokes, setAuthorizationEnabled, setAuthorizationEnabledForCustomCode, setCreateIncidentOnFailedJobEnabled, setDatabaseVendor, setDatabaseVersion, setDataSourceJndiName, setDefaultNumberOfRetries, setDefaultUserPermissionNameForTask, setDeserializationAllowedClasses, setDeserializationAllowedPackages, setDeserializationTypeValidationEnabled, setDeserializationTypeValidator, setDisabledPermissions, setEnableCmdExceptionLogging, setEnableExceptionsAfterUnhandledBpmnError, setEnablePasswordPolicy, setEnableReducedJobExceptionLogging, setEnforceSpecificVariablePermission, setEnsureJobDueDateNotNull, setGeneralResourceWhitelistPattern, setGroupResourceWhitelistPattern, setHintJobExecutor, setHistoryLevelCommand, setInstallationId, setJdbcBatchProcessing, setJdbcStatementTimeout, setJobExecutorAcquireByDueDate, setJobExecutorAcquireByPriority, setJobExecutorDeploymentAware, setJobExecutorPreferTimerJobs, setPasswordPolicy, setProcessEngineBootstrapCommand, setProducePrioritizedExternalTasks, setProducePrioritizedJobs, setSchemaOperationsCommand, setSkipHistoryOptimisticLockingExceptions, setSkipOutputMappingOnCanceledActivities, setTelemetryRegistry, setTenantCheckEnabled, setTenantResourceWhitelistPattern, setUserResourceWhitelistPattern, setValueTypeResolver
-
Field Details
-
LOG
-
DB_SCHEMA_UPDATE_CREATE
- See Also:
-
DB_SCHEMA_UPDATE_DROP_CREATE
- See Also:
-
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
- See Also:
-
DEFAULT_MYBATIS_MAPPING_FILE
- See Also:
-
DEFAULT_FAILED_JOB_LISTENER_MAX_RETRIES
public static final int DEFAULT_FAILED_JOB_LISTENER_MAX_RETRIES- See Also:
-
DEFAULT_INVOCATIONS_PER_BATCH_JOB
public static final int DEFAULT_INVOCATIONS_PER_BATCH_JOB- See Also:
-
DEFAULT_BEANS_MAP
-
PRODUCT_NAME
- See Also:
-
cachedSqlSessionFactory
public static org.apache.ibatis.session.SqlSessionFactory cachedSqlSessionFactory -
repositoryService
-
runtimeService
-
historyService
-
identityService
-
taskService
-
formService
-
managementService
-
authorizationService
-
caseService
-
filterService
-
externalTaskService
-
decisionService
-
optimizeService
-
customPreCommandInterceptorsTxRequired
the configurable list which will beprocessed
to build thecommandExecutorTxRequired
-
customPostCommandInterceptorsTxRequired
-
commandInterceptorsTxRequired
-
commandExecutorTxRequired
this will be initialized during the configurationComplete() -
customPreCommandInterceptorsTxRequiresNew
the configurable list which will beprocessed
to build thecommandExecutorTxRequiresNew
-
customPostCommandInterceptorsTxRequiresNew
-
commandInterceptorsTxRequiresNew
-
commandExecutorTxRequiresNew
this will be initialized during the configurationComplete() -
commandExecutorSchemaOperations
Separate command executor to be used for db schema operations. Must always use NON-JTA transactions -
commandRetries
protected int commandRetriesAllows 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
-
dbSqlSessionFactory
-
sessionFactories
-
customPreDeployers
-
customPostDeployers
-
deployers
-
deploymentCache
-
cacheFactory
-
cacheCapacity
protected int cacheCapacity -
enableFetchProcessDefinitionDescription
protected boolean enableFetchProcessDefinitionDescription -
customJobHandlers
-
jobHandlers
-
jobExecutor
-
jobPriorityProvider
-
jobExecutorPriorityRangeMin
protected long jobExecutorPriorityRangeMin -
jobExecutorPriorityRangeMax
protected long jobExecutorPriorityRangeMax -
externalTaskPriorityProvider
-
sqlSessionFactory
protected org.apache.ibatis.session.SqlSessionFactory sqlSessionFactory -
transactionFactory
protected org.apache.ibatis.transaction.TransactionFactory transactionFactory -
idGenerator
-
idGeneratorDataSource
-
idGeneratorDataSourceJndiName
-
incidentHandlers
-
customIncidentHandlers
-
batchHandlers
-
customBatchJobHandlers
-
batchJobsPerSeed
protected int batchJobsPerSeedNumber of jobs created by a batch seed job invocation -
invocationsPerBatchJob
protected int invocationsPerBatchJobNumber of invocations executed by a single batch job -
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 batchPollTimeseconds to wait between polling for batch completion -
batchJobPriority
protected long batchJobPrioritydefault priority for batch jobs -
customFormEngines
-
formEngines
-
customFormTypes
-
formTypes
-
formValidators
-
customFormFieldValidators
-
disableStrictCamundaFormParsing
protected boolean disableStrictCamundaFormParsingdon't throw parsing exceptions for Camunda Forms if set to true -
customPreVariableSerializers
-
customPostVariableSerializers
-
variableSerializers
-
fallbackSerializerFactory
-
implicitVariableUpdateDetectionEnabled
protected boolean implicitVariableUpdateDetectionEnabled -
defaultSerializationFormat
-
javaSerializationFormatEnabled
protected boolean javaSerializationFormatEnabled -
defaultCharsetName
-
defaultCharset
-
expressionManager
-
dmnElProvider
-
scriptingEngines
-
resolverFactories
-
scriptingEnvironment
-
scriptEnvResolvers
-
scriptFactory
-
scriptEngineResolver
-
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 cmmnEnabledWhen 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
.
- The automated schema maintenance (creating and dropping tables, see property
-
dmnEnabled
protected boolean dmnEnabledWhen 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
orDecisionRequirementsDefinition
to the engine.
- The automated schema maintenance (creating and dropping tables, see property
-
standaloneTasksEnabled
protected boolean standaloneTasksEnabledWhen set tofalse
, 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 -
businessCalendarManager
-
wsSyncFactoryClassName
-
commandContextFactory
-
transactionContextFactory
-
bpmnParseFactory
-
cmmnTransformFactory
-
cmmnElementHandlerRegistry
-
dmnEngineConfiguration
-
dmnEngine
-
dmnFeelCustomFunctionProviders
a list of DMN FEEL custom function providers -
dmnFeelEnableLegacyBehavior
protected boolean dmnFeelEnableLegacyBehaviorEnable DMN FEEL legacy behavior -
dmnReturnBlankTableOutputAsNull
protected boolean dmnReturnBlankTableOutputAsNullControls whether blank DMN table outputs are swallowed or returned asnull
. -
historyLevel
-
historyLevels
a list of supported history levels -
customHistoryLevels
a list of supported custom history levels -
preParseListeners
-
postParseListeners
-
customPreCmmnTransformListeners
-
customPostCmmnTransformListeners
-
beans
-
isDbIdentityUsed
protected boolean isDbIdentityUsed -
isDbHistoryUsed
protected boolean isDbHistoryUsed -
delegateInterceptor
-
actualCommandExecutor
-
customRejectedJobsHandler
-
eventHandlers
-
customEventHandlers
-
failedJobCommandFactory
-
databaseTablePrefix
-
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 -
processApplicationManager
-
correlationHandler
-
conditionHandler
-
identityProviderSessionFactory
session factory to be used for obtaining identity provider sessions -
passwordEncryptor
-
customPasswordChecker
-
passwordManager
-
saltGenerator
-
registeredDeployments
-
deploymentHandlerFactory
-
resourceAuthorizationProvider
-
processEnginePlugins
-
historyEventProducer
-
cmmnHistoryEventProducer
-
dmnHistoryEventProducer
-
historyEventHandler
As an instance ofCompositeHistoryEventHandler
it contains all the provided history event handlers that process history events. -
customHistoryEventHandlers
Allows users to add additionalHistoryEventHandler
instances to process history events. -
enableDefaultDbHistoryEventHandler
protected boolean enableDefaultDbHistoryEventHandlerIf true, the defaultDbHistoryEventHandler
will be included in the list of history event handlers. -
permissionProvider
-
isExecutionTreePrefetchEnabled
protected boolean isExecutionTreePrefetchEnabled -
isCompositeIncidentHandlersEnabled
protected boolean isCompositeIncidentHandlersEnabledIf true, the incident handlers init asCompositeIncidentHandler
and multiple incident handlers can be added for the same Incident type. However, only the result from the "main" incident handler will be returned.All
customIncidentHandlers
will be added as sub handlers toCompositeIncidentHandler
for same handler type.By default, main handler is
DefaultIncidentHandler
. To override the main handler you need createCompositeIncidentHandler
with your main IncidentHandler and initincidentHandlers
before setting up the engine. -
isDeploymentLockUsed
protected boolean isDeploymentLockUsedIf true the process engine will attempt to acquire an exclusive lock before creating a deployment. -
isDeploymentSynchronized
protected boolean isDeploymentSynchronizedIf true then several deployments will be processed strictly sequentially. When false they may be processed in parallel. -
isDbEntityCacheReuseEnabled
protected boolean isDbEntityCacheReuseEnabledAllows 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
The process engine created by this configuration. -
artifactFactory
used to create instances for listeners, JavaDelegates, etc -
dbEntityCacheKeyMapping
-
metricsRegistry
the metrics registry -
dbMetricsReporter
-
isMetricsEnabled
protected boolean isMetricsEnabled -
isDbMetricsReporterActivate
protected boolean isDbMetricsReporterActivate -
metricsReporterIdProvider
-
isTaskMetricsEnabled
protected boolean isTaskMetricsEnabled -
hostname
the historic job log host name -
hostnameProvider
-
enableExpressionsInAdhocQueries
protected boolean enableExpressionsInAdhocQuerieshandling of expressions submitted via API; can be used as guards against remote code execution -
enableExpressionsInStoredQueries
protected boolean enableExpressionsInStoredQueries -
enableXxeProcessing
protected boolean enableXxeProcessingIf false, disables XML eXternal Entity (XXE) Processing. This provides protection against XXE Processing attacks. -
restrictUserOperationLogToAuthenticatedUsers
protected boolean restrictUserOperationLogToAuthenticatedUsersIf 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 -
tenantIdProvider
-
commandCheckers
-
adminGroups
-
adminUsers
-
migrationActivityMatcher
-
customPreMigrationActivityValidators
-
customPostMigrationActivityValidators
-
migrationInstructionGenerator
-
customPreMigrationInstructionValidators
-
customPostMigrationInstructionValidators
-
migrationInstructionValidators
-
customPreMigratingActivityInstanceValidators
-
customPostMigratingActivityInstanceValidators
-
migratingActivityInstanceValidators
-
migratingTransitionInstanceValidators
-
migratingCompensationInstanceValidators
-
defaultUserPermissionForTask
-
enableHistoricInstancePermissions
protected boolean enableHistoricInstancePermissionsHistoric instance permissions are disabled by default -
historyCleanupBatchWindowStartTime
-
historyCleanupBatchWindowEndTime
-
historyCleanupBatchWindowStartTimeAsDate
-
historyCleanupBatchWindowEndTimeAsDate
-
historyCleanupBatchWindows
-
mondayHistoryCleanupBatchWindowStartTime
-
mondayHistoryCleanupBatchWindowEndTime
-
tuesdayHistoryCleanupBatchWindowStartTime
-
tuesdayHistoryCleanupBatchWindowEndTime
-
wednesdayHistoryCleanupBatchWindowStartTime
-
wednesdayHistoryCleanupBatchWindowEndTime
-
thursdayHistoryCleanupBatchWindowStartTime
-
thursdayHistoryCleanupBatchWindowEndTime
-
fridayHistoryCleanupBatchWindowStartTime
-
fridayHistoryCleanupBatchWindowEndTime
-
saturdayHistoryCleanupBatchWindowStartTime
-
saturdayHistoryCleanupBatchWindowEndTime
-
sundayHistoryCleanupBatchWindowStartTime
-
sundayHistoryCleanupBatchWindowEndTime
-
historyCleanupDegreeOfParallelism
protected int historyCleanupDegreeOfParallelism -
historyTimeToLive
-
enforceHistoryTimeToLive
protected boolean enforceHistoryTimeToLiveFeature flag that fails the deployment of process, decision, and case resources if their historyTimeToLive isnull
. -
batchOperationHistoryTimeToLive
-
batchOperationsForHistoryCleanup
-
parsedBatchOperationsForHistoryCleanup
-
historyCleanupJobPriority
protected long historyCleanupJobPriorityDefault priority for history cleanup jobs. -
historyCleanupDefaultNumberOfRetries
protected int historyCleanupDefaultNumberOfRetriesSpecifies how often a cleanup job will be executed before an incident is raised. This property overrides the globaldefaultNumberOfRetries
property which has a default value of3
. -
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
-
parsedTaskMetricsTimeToLive
-
batchWindowManager
-
historyRemovalTimeProvider
-
historyRemovalTimeStrategy
-
historyCleanupStrategy
-
historyCleanupEnabled
protected boolean historyCleanupEnabledControls whether engine participates in history cleanup or not. -
failedJobRetryTimeCycle
-
loginMaxAttempts
protected int loginMaxAttempts -
loginDelayFactor
protected int loginDelayFactor -
loginDelayMaxTime
protected int loginDelayMaxTime -
loginDelayBase
protected int loginDelayBase -
webappsAuthenticationLoggingEnabled
protected boolean webappsAuthenticationLoggingEnabled -
queryMaxResultsLimit
protected int queryMaxResultsLimit -
loggingContextActivityId
-
loggingContextActivityName
-
loggingContextApplicationName
-
loggingContextBusinessKey
-
loggingContextProcessDefinitionId
-
loggingContextProcessDefinitionKey
-
loggingContextProcessInstanceId
-
loggingContextTenantId
-
loggingContextEngineName
-
logLevelBpmnStackTrace
-
enableOptimisticLockingOnForeignKeyViolation
protected boolean enableOptimisticLockingOnForeignKeyViolation -
initializeTelemetry
protected boolean initializeTelemetrySets the initial property value of telemetry configuration only once when it has never been enabled/disabled before. Subsequent changes can be done only via theTelemetry
API inManagementService
Telemetry is disabled by default. -
telemetryEndpoint
The endpoint which telemetry is sent to -
telemetryRequestRetries
protected int telemetryRequestRetriesThe number of times the telemetry request is retried in case it fails -
telemetryReporter
-
isTelemetryReporterActivate
protected boolean isTelemetryReporterActivateDetermines if the telemetry reporter thread runs. For telemetry to be sent, this flag must be set totrue
and telemetry must be enabled via API (seeManagementService.toggleTelemetry(boolean)
. -
telemetryHttpConnector
protected org.camunda.connect.spi.Connector<? extends org.camunda.connect.spi.ConnectorRequest<?>> telemetryHttpConnectorhttp client used for sending telemetry -
telemetryReportingPeriod
protected long telemetryReportingPerioddefault: once every 24 hours -
telemetryData
-
telemetryRequestTimeout
protected int telemetryRequestTimeoutthe connection and socket timeout configuration of the telemetry request in milliseconds default: 15 seconds -
disableExceptionCode
protected boolean disableExceptionCodeDisables theExceptionCodeInterceptor
and therefore the whole exception code feature. -
disableBuiltinExceptionCodeProvider
protected boolean disableBuiltinExceptionCodeProviderDisables the default implementation ofExceptionCodeProvider
which allows overriding the reserved exception codes >ExceptionCodeInterceptor.MAX_CUSTOM_CODE
or <ExceptionCodeInterceptor.MIN_CUSTOM_CODE
. -
customExceptionCodeProvider
Allows registering a custom implementation of aExceptionCodeProvider
allowing to provide custom exception codes. -
builtinExceptionCodeProvider
Holds the default implementation ofExceptionCodeProvider
. -
reevaluateTimeCycleWhenDue
protected boolean reevaluateTimeCycleWhenDueControls whether the time cycle is re-evaluated when due. -
removalTimeUpdateChunkSize
protected int removalTimeUpdateChunkSizeSize of batch in which removal time data will be updated.ProcessSetRemovalTimeJobHandler.MAX_CHUNK_SIZE
must be respected. -
databaseTypeMappings
-
MY_SQL_PRODUCT_NAME
- See Also:
-
MARIA_DB_PRODUCT_NAME
- See Also:
-
POSTGRES_DB_PRODUCT_NAME
- See Also:
-
CRDB_DB_PRODUCT_NAME
- See Also:
-
-
Constructor Details
-
ProcessEngineConfigurationImpl
public ProcessEngineConfigurationImpl()
-
-
Method Details
-
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 theExceptionCodeInterceptor
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.
-
setDisableBuiltinExceptionCodeProvider
public void setDisableBuiltinExceptionCodeProvider(boolean disableBuiltinExceptionCodeProvider) Setter to disables the default implementation ofExceptionCodeProvider
which allows overriding the reserved exception codes >ExceptionCodeInterceptor.MAX_CUSTOM_CODE
or <ExceptionCodeInterceptor.MIN_CUSTOM_CODE
. -
getCustomExceptionCodeProvider
- Returns:
- a custom implementation of a
ExceptionCodeProvider
allowing to provide custom error codes.
-
setCustomExceptionCodeProvider
Setter to register a custom implementation of aExceptionCodeProvider
allowing to provide custom error codes. -
getBuiltinExceptionCodeProvider
-
setBuiltinExceptionCodeProvider
-
buildProcessEngine
- Specified by:
buildProcessEngine
in classProcessEngineConfiguration
-
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
-
initFailedJobCommandFactory
protected void initFailedJobCommandFactory() -
initIncidentHandlers
protected void initIncidentHandlers() -
initBatchHandlers
public void initBatchHandlers() -
getDefaultCommandInterceptorsTxRequired
protected abstract Collection<? extends CommandInterceptor> getDefaultCommandInterceptorsTxRequired() -
getDefaultCommandInterceptorsTxRequiresNew
protected abstract 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() -
initInterceptorChain
-
initServices
protected void initServices() -
initService
-
initDataSource
protected void initDataSource() -
getDefaultDatabaseTypeMappings
-
initDatabaseType
public void initDatabaseType() -
checkForMariaDb
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
-
initDatabaseVendorAndVersion
- Throws:
SQLException
-
initTransactionFactory
protected void initTransactionFactory() -
initSqlSessionFactory
protected void initSqlSessionFactory() -
initSqlSessionFactoryProperties
public static void initSqlSessionFactoryProperties(Properties properties, String databaseTablePrefix, String databaseType) -
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
When providing a schema and a prefix the prefix has to be the schema ending with a dot. -
addSessionFactory
-
initDeployers
protected void initDeployers() -
getDefaultDeployers
-
getBpmnDeployer
-
getDefaultBPMNParseListeners
-
getCamundaFormDeployer
-
getCmmnDeployer
-
getDefaultCmmnTransformListeners
-
getDecisionDefinitionDeployer
-
getDecisionRequirementsDefinitionDeployer
-
getDmnEngine
-
setDmnEngine
-
getDmnEngineConfiguration
-
setDmnEngineConfiguration
-
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
-
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() -
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() -
getProcessEngineName
- Overrides:
getProcessEngineName
in classProcessEngineConfiguration
-
getHistoryLevel
-
setHistoryLevel
-
getDefaultHistoryLevel
-
setProcessEngineName
- Overrides:
setProcessEngineName
in classProcessEngineConfiguration
-
getCustomPreCommandInterceptorsTxRequired
-
setCustomPreCommandInterceptorsTxRequired
public ProcessEngineConfigurationImpl setCustomPreCommandInterceptorsTxRequired(List<CommandInterceptor> customPreCommandInterceptorsTxRequired) -
getCustomPostCommandInterceptorsTxRequired
-
setCustomPostCommandInterceptorsTxRequired
public ProcessEngineConfigurationImpl setCustomPostCommandInterceptorsTxRequired(List<CommandInterceptor> customPostCommandInterceptorsTxRequired) -
getCommandInterceptorsTxRequired
-
setCommandInterceptorsTxRequired
public ProcessEngineConfigurationImpl setCommandInterceptorsTxRequired(List<CommandInterceptor> commandInterceptorsTxRequired) -
getCommandExecutorTxRequired
-
setCommandExecutorTxRequired
public ProcessEngineConfigurationImpl setCommandExecutorTxRequired(CommandExecutor commandExecutorTxRequired) -
getCustomPreCommandInterceptorsTxRequiresNew
-
setCustomPreCommandInterceptorsTxRequiresNew
public ProcessEngineConfigurationImpl setCustomPreCommandInterceptorsTxRequiresNew(List<CommandInterceptor> customPreCommandInterceptorsTxRequiresNew) -
getCustomPostCommandInterceptorsTxRequiresNew
-
setCustomPostCommandInterceptorsTxRequiresNew
public ProcessEngineConfigurationImpl setCustomPostCommandInterceptorsTxRequiresNew(List<CommandInterceptor> customPostCommandInterceptorsTxRequiresNew) -
getCommandInterceptorsTxRequiresNew
-
setCommandInterceptorsTxRequiresNew
public ProcessEngineConfigurationImpl setCommandInterceptorsTxRequiresNew(List<CommandInterceptor> commandInterceptorsTxRequiresNew) -
getCommandExecutorTxRequiresNew
-
setCommandExecutorTxRequiresNew
public ProcessEngineConfigurationImpl setCommandExecutorTxRequiresNew(CommandExecutor commandExecutorTxRequiresNew) -
getRepositoryService
-
setRepositoryService
-
getRuntimeService
-
setRuntimeService
-
getHistoryService
-
setHistoryService
-
getIdentityService
-
setIdentityService
-
getTaskService
-
setTaskService
-
getFormService
-
setFormService
-
getManagementService
-
getAuthorizationService
-
setAuthorizationService
-
setManagementService
-
getCaseService
-
setCaseService
-
getFilterService
-
setFilterService
-
getExternalTaskService
-
setExternalTaskService
-
getDecisionService
-
setDecisionService
-
getOptimizeService
-
getSessionFactories
-
setSessionFactories
public ProcessEngineConfigurationImpl setSessionFactories(Map<Class<?>, SessionFactory> sessionFactories) -
getDeployers
-
setDeployers
-
getJobExecutor
-
setJobExecutor
-
getJobPriorityProvider
-
setJobPriorityProvider
-
getJobExecutorPriorityRangeMin
public long getJobExecutorPriorityRangeMin() -
setJobExecutorPriorityRangeMin
public ProcessEngineConfigurationImpl setJobExecutorPriorityRangeMin(long jobExecutorPriorityRangeMin) -
getJobExecutorPriorityRangeMax
public long getJobExecutorPriorityRangeMax() -
setJobExecutorPriorityRangeMax
public ProcessEngineConfigurationImpl setJobExecutorPriorityRangeMax(long jobExecutorPriorityRangeMax) -
getExternalTaskPriorityProvider
-
setExternalTaskPriorityProvider
public void setExternalTaskPriorityProvider(PriorityProvider<ExternalTaskActivityBehavior> externalTaskPriorityProvider) -
getIdGenerator
-
setIdGenerator
-
getWsSyncFactoryClassName
-
setWsSyncFactoryClassName
-
getFormEngines
-
setFormEngines
-
getFormTypes
-
setFormTypes
-
getScriptingEngines
-
setScriptingEngines
-
getVariableSerializers
-
getFallbackSerializerFactory
-
setFallbackSerializerFactory
-
isImplicitVariableUpdateDetectionEnabled
public boolean isImplicitVariableUpdateDetectionEnabled() -
setImplicitVariableUpdateDetectionEnabled
public void setImplicitVariableUpdateDetectionEnabled(boolean newValue) -
setVariableTypes
-
getExpressionManager
-
setExpressionManager
-
getDmnElProvider
-
setDmnElProvider
-
getBusinessCalendarManager
-
setBusinessCalendarManager
public ProcessEngineConfigurationImpl setBusinessCalendarManager(BusinessCalendarManager businessCalendarManager) -
getCommandContextFactory
-
setCommandContextFactory
public ProcessEngineConfigurationImpl setCommandContextFactory(CommandContextFactory commandContextFactory) -
getTransactionContextFactory
-
setTransactionContextFactory
public ProcessEngineConfigurationImpl setTransactionContextFactory(TransactionContextFactory transactionContextFactory) -
getBpmnParseFactory
-
setBpmnParseFactory
-
getCustomPreDeployers
-
setCustomPreDeployers
-
getCustomPostDeployers
-
setCustomPostDeployers
-
setCacheFactory
-
setCacheCapacity
public void setCacheCapacity(int cacheCapacity) -
setEnableFetchProcessDefinitionDescription
public void setEnableFetchProcessDefinitionDescription(boolean enableFetchProcessDefinitionDescription) -
getEnableFetchProcessDefinitionDescription
public boolean getEnableFetchProcessDefinitionDescription() -
getDefaultUserPermissionForTask
-
setDefaultUserPermissionForTask
public ProcessEngineConfigurationImpl setDefaultUserPermissionForTask(Permission defaultUserPermissionForTask) -
setEnableHistoricInstancePermissions
-
isEnableHistoricInstancePermissions
public boolean isEnableHistoricInstancePermissions() -
getJobHandlers
-
setJobHandlers
-
getSqlSessionFactory
public org.apache.ibatis.session.SqlSessionFactory getSqlSessionFactory() -
setSqlSessionFactory
public ProcessEngineConfigurationImpl setSqlSessionFactory(org.apache.ibatis.session.SqlSessionFactory sqlSessionFactory) -
getDbSqlSessionFactory
-
setDbSqlSessionFactory
public ProcessEngineConfigurationImpl setDbSqlSessionFactory(DbSqlSessionFactory dbSqlSessionFactory) -
getTransactionFactory
public org.apache.ibatis.transaction.TransactionFactory getTransactionFactory() -
setTransactionFactory
public ProcessEngineConfigurationImpl setTransactionFactory(org.apache.ibatis.transaction.TransactionFactory transactionFactory) -
getCustomSessionFactories
-
setCustomSessionFactories
public ProcessEngineConfigurationImpl setCustomSessionFactories(List<SessionFactory> customSessionFactories) -
getCustomJobHandlers
-
setCustomJobHandlers
-
getCustomFormEngines
-
setCustomFormEngines
-
getCustomFormTypes
-
setCustomFormTypes
public ProcessEngineConfigurationImpl setCustomFormTypes(List<AbstractFormFieldType> customFormTypes) -
getCustomPreVariableSerializers
-
setCustomPreVariableSerializers
public ProcessEngineConfigurationImpl setCustomPreVariableSerializers(List<TypedValueSerializer> customPreVariableTypes) -
getCustomPostVariableSerializers
-
setCustomPostVariableSerializers
public ProcessEngineConfigurationImpl setCustomPostVariableSerializers(List<TypedValueSerializer> customPostVariableTypes) -
getCustomPreBPMNParseListeners
-
setCustomPreBPMNParseListeners
-
getCustomPostBPMNParseListeners
-
setCustomPostBPMNParseListeners
-
getPreParseListeners
Deprecated.usegetCustomPreBPMNParseListeners()
instead. -
setPreParseListeners
-
getPostParseListeners
Deprecated.usegetCustomPostBPMNParseListeners()
instead. -
setPostParseListeners
-
getCustomPreCmmnTransformListeners
-
setCustomPreCmmnTransformListeners
public void setCustomPreCmmnTransformListeners(List<CmmnTransformListener> customPreCmmnTransformListeners) -
getCustomPostCmmnTransformListeners
-
setCustomPostCmmnTransformListeners
public void setCustomPostCmmnTransformListeners(List<CmmnTransformListener> customPostCmmnTransformListeners) -
getBeans
-
setBeans
-
setClassLoader
- Overrides:
setClassLoader
in classProcessEngineConfiguration
-
setDatabaseType
- Overrides:
setDatabaseType
in classProcessEngineConfiguration
-
setDataSource
- Overrides:
setDataSource
in classProcessEngineConfiguration
-
setDatabaseSchemaUpdate
- Overrides:
setDatabaseSchemaUpdate
in classProcessEngineConfiguration
-
setHistory
- Overrides:
setHistory
in classProcessEngineConfiguration
-
setIdBlockSize
- Overrides:
setIdBlockSize
in classProcessEngineConfiguration
-
setJdbcDriver
- Overrides:
setJdbcDriver
in classProcessEngineConfiguration
-
setJdbcPassword
- Overrides:
setJdbcPassword
in classProcessEngineConfiguration
-
setJdbcUrl
- Overrides:
setJdbcUrl
in classProcessEngineConfiguration
-
setJdbcUsername
- Overrides:
setJdbcUsername
in classProcessEngineConfiguration
-
setJobExecutorActivate
- Overrides:
setJobExecutorActivate
in classProcessEngineConfiguration
-
setMailServerDefaultFrom
- Overrides:
setMailServerDefaultFrom
in classProcessEngineConfiguration
-
setMailServerHost
- Overrides:
setMailServerHost
in classProcessEngineConfiguration
-
setMailServerPassword
- Overrides:
setMailServerPassword
in classProcessEngineConfiguration
-
setMailServerPort
- Overrides:
setMailServerPort
in classProcessEngineConfiguration
-
setMailServerUseTLS
- Overrides:
setMailServerUseTLS
in classProcessEngineConfiguration
-
setMailServerUsername
- Overrides:
setMailServerUsername
in classProcessEngineConfiguration
-
setJdbcMaxActiveConnections
- Overrides:
setJdbcMaxActiveConnections
in classProcessEngineConfiguration
-
setJdbcMaxCheckoutTime
- Overrides:
setJdbcMaxCheckoutTime
in classProcessEngineConfiguration
-
setJdbcMaxIdleConnections
- Overrides:
setJdbcMaxIdleConnections
in classProcessEngineConfiguration
-
setJdbcMaxWaitTime
- Overrides:
setJdbcMaxWaitTime
in classProcessEngineConfiguration
-
setTransactionsExternallyManaged
public ProcessEngineConfigurationImpl setTransactionsExternallyManaged(boolean transactionsExternallyManaged) - Overrides:
setTransactionsExternallyManaged
in classProcessEngineConfiguration
-
setJdbcPingEnabled
- Overrides:
setJdbcPingEnabled
in classProcessEngineConfiguration
-
setJdbcPingQuery
- Overrides:
setJdbcPingQuery
in classProcessEngineConfiguration
-
setJdbcPingConnectionNotUsedFor
- Overrides:
setJdbcPingConnectionNotUsedFor
in classProcessEngineConfiguration
-
isDbIdentityUsed
public boolean isDbIdentityUsed() -
setDbIdentityUsed
public void setDbIdentityUsed(boolean isDbIdentityUsed) -
isDbHistoryUsed
public boolean isDbHistoryUsed() -
setDbHistoryUsed
public void setDbHistoryUsed(boolean isDbHistoryUsed) -
getResolverFactories
-
setResolverFactories
-
getDeploymentCache
-
setDeploymentCache
-
getDeploymentHandlerFactory
-
setDeploymentHandlerFactory
public ProcessEngineConfigurationImpl setDeploymentHandlerFactory(DeploymentHandlerFactory deploymentHandlerFactory) -
setDelegateInterceptor
public ProcessEngineConfigurationImpl setDelegateInterceptor(DelegateInterceptor delegateInterceptor) -
getDelegateInterceptor
-
getCustomRejectedJobsHandler
-
setCustomRejectedJobsHandler
public ProcessEngineConfigurationImpl setCustomRejectedJobsHandler(RejectedJobsHandler customRejectedJobsHandler) -
getEventHandler
-
setEventHandlers
-
getEventHandlers
-
getCustomEventHandlers
-
setCustomEventHandlers
-
getFailedJobCommandFactory
-
setFailedJobCommandFactory
public ProcessEngineConfigurationImpl setFailedJobCommandFactory(FailedJobCommandFactory failedJobCommandFactory) -
setDatabaseTablePrefix
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_'.ProcessEngineConfiguration.DB_SCHEMA_UPDATE_CREATE_DROP
orProcessEngineConfiguration.DB_SCHEMA_UPDATE_TRUE
, activiti will create the database tables using the default names, regardless of the prefix configured here.- Since:
- 5.9
-
getDatabaseTablePrefix
-
isCreateDiagramOnDeploy
public boolean isCreateDiagramOnDeploy() -
setCreateDiagramOnDeploy
-
getDatabaseSchema
-
setDatabaseSchema
-
getIdGeneratorDataSource
-
setIdGeneratorDataSource
-
getIdGeneratorDataSourceJndiName
-
setIdGeneratorDataSourceJndiName
-
getProcessApplicationManager
-
setProcessApplicationManager
-
getCommandExecutorSchemaOperations
-
setCommandExecutorSchemaOperations
-
getCorrelationHandler
-
setCorrelationHandler
-
getConditionHandler
-
setConditionHandler
-
setHistoryEventHandler
public ProcessEngineConfigurationImpl setHistoryEventHandler(HistoryEventHandler historyEventHandler) -
getHistoryEventHandler
-
isEnableDefaultDbHistoryEventHandler
public boolean isEnableDefaultDbHistoryEventHandler() -
setEnableDefaultDbHistoryEventHandler
public void setEnableDefaultDbHistoryEventHandler(boolean enableDefaultDbHistoryEventHandler) -
getCustomHistoryEventHandlers
-
setCustomHistoryEventHandlers
-
getIncidentHandler
-
addIncidentHandler
-
getIncidentHandlers
-
setIncidentHandlers
-
getCustomIncidentHandlers
-
setCustomIncidentHandlers
-
getBatchHandlers
-
setBatchHandlers
-
getCustomBatchJobHandlers
-
setCustomBatchJobHandlers
-
getBatchJobsPerSeed
public int getBatchJobsPerSeed() -
setBatchJobsPerSeed
public void setBatchJobsPerSeed(int batchJobsPerSeed) -
getInvocationsPerBatchJobByBatchType
-
setInvocationsPerBatchJobByBatchType
public ProcessEngineConfigurationImpl setInvocationsPerBatchJobByBatchType(Map<String, 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() -
setHistoryCleanupJobPriority
-
getHistoryCleanupDefaultNumberOfRetries
public int getHistoryCleanupDefaultNumberOfRetries() -
setHistoryCleanupDefaultNumberOfRetries
public ProcessEngineConfigurationImpl setHistoryCleanupDefaultNumberOfRetries(int historyCleanupDefaultNumberOfRetries) -
getIdentityProviderSessionFactory
-
setIdentityProviderSessionFactory
-
getSaltGenerator
-
setSaltGenerator
-
setPasswordEncryptor
-
getPasswordEncryptor
-
getCustomPasswordChecker
-
setCustomPasswordChecker
-
getPasswordManager
-
setPasswordManager
-
getRegisteredDeployments
-
setRegisteredDeployments
-
getResourceAuthorizationProvider
-
setResourceAuthorizationProvider
public void setResourceAuthorizationProvider(ResourceAuthorizationProvider resourceAuthorizationProvider) -
getPermissionProvider
-
setPermissionProvider
-
getProcessEnginePlugins
-
setProcessEnginePlugins
-
setHistoryEventProducer
public ProcessEngineConfigurationImpl setHistoryEventProducer(HistoryEventProducer historyEventProducer) -
getHistoryEventProducer
-
setCmmnHistoryEventProducer
public ProcessEngineConfigurationImpl setCmmnHistoryEventProducer(CmmnHistoryEventProducer cmmnHistoryEventProducer) -
getCmmnHistoryEventProducer
-
setDmnHistoryEventProducer
public ProcessEngineConfigurationImpl setDmnHistoryEventProducer(DmnHistoryEventProducer dmnHistoryEventProducer) -
getDmnHistoryEventProducer
-
getCustomFormFieldValidators
-
setCustomFormFieldValidators
public void setCustomFormFieldValidators(Map<String, Class<? extends FormFieldValidator>> customFormFieldValidators) -
setFormValidators
-
getFormValidators
-
setDisableStrictCamundaFormParsing
public ProcessEngineConfigurationImpl setDisableStrictCamundaFormParsing(boolean disableStrictCamundaFormParsing) -
isDisableStrictCamundaFormParsing
public boolean isDisableStrictCamundaFormParsing() -
isExecutionTreePrefetchEnabled
public boolean isExecutionTreePrefetchEnabled() -
setExecutionTreePrefetchEnabled
public void setExecutionTreePrefetchEnabled(boolean isExecutionTreePrefetchingEnabled) -
getProcessEngine
-
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 thatDeploymentBuilder.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() -
setStandaloneTasksEnabled
-
isCompositeIncidentHandlersEnabled
public boolean isCompositeIncidentHandlersEnabled() -
setCompositeIncidentHandlersEnabled
public ProcessEngineConfigurationImpl setCompositeIncidentHandlersEnabled(boolean compositeIncidentHandlersEnabled) -
getScriptFactory
-
getScriptingEnvironment
-
setScriptFactory
-
getScriptEngineResolver
-
setScriptEngineResolver
public ProcessEngineConfigurationImpl setScriptEngineResolver(ScriptEngineResolver scriptEngineResolver) -
setScriptingEnvironment
-
getEnvScriptResolvers
-
setEnvScriptResolvers
-
getScriptEngineNameJavaScript
-
setScriptEngineNameJavaScript
public ProcessEngineConfigurationImpl setScriptEngineNameJavaScript(String scriptEngineNameJavaScript) -
setArtifactFactory
-
getArtifactFactory
-
getDefaultSerializationFormat
-
setDefaultSerializationFormat
public ProcessEngineConfigurationImpl setDefaultSerializationFormat(String defaultSerializationFormat) -
isJavaSerializationFormatEnabled
public boolean isJavaSerializationFormatEnabled() -
setJavaSerializationFormatEnabled
public void setJavaSerializationFormatEnabled(boolean javaSerializationFormatEnabled) -
setDefaultCharsetName
-
setDefaultCharset
-
getDefaultCharset
-
isDbEntityCacheReuseEnabled
public boolean isDbEntityCacheReuseEnabled() -
setDbEntityCacheReuseEnabled
public ProcessEngineConfigurationImpl setDbEntityCacheReuseEnabled(boolean isDbEntityCacheReuseEnabled) -
getDbEntityCacheKeyMapping
-
setDbEntityCacheKeyMapping
public ProcessEngineConfigurationImpl setDbEntityCacheKeyMapping(DbEntityCacheKeyMapping dbEntityCacheKeyMapping) -
setCustomHistoryLevels
public ProcessEngineConfigurationImpl setCustomHistoryLevels(List<HistoryLevel> customHistoryLevels) -
getHistoryLevels
-
getCustomHistoryLevels
-
isInvokeCustomVariableListeners
public boolean isInvokeCustomVariableListeners() -
setInvokeCustomVariableListeners
public ProcessEngineConfigurationImpl setInvokeCustomVariableListeners(boolean isInvokeCustomVariableListeners) -
close
public void close() -
getMetricsRegistry
-
setMetricsRegistry
-
setMetricsEnabled
-
isMetricsEnabled
public boolean isMetricsEnabled() -
getDbMetricsReporter
-
setDbMetricsReporter
-
isDbMetricsReporterActivate
public boolean isDbMetricsReporterActivate() -
setDbMetricsReporterActivate
public ProcessEngineConfigurationImpl setDbMetricsReporterActivate(boolean isDbMetricsReporterEnabled) -
getMetricsReporterIdProvider
Deprecated.usegetHostnameProvider()
instead. -
setMetricsReporterIdProvider
@Deprecated public ProcessEngineConfigurationImpl setMetricsReporterIdProvider(MetricsReporterIdProvider metricsReporterIdProvider) Deprecated.usesetHostnameProvider(HostnameProvider)
instead. -
getHostname
-
setHostname
-
getHostnameProvider
-
setHostnameProvider
-
isTaskMetricsEnabled
public boolean isTaskMetricsEnabled() -
setTaskMetricsEnabled
-
isEnableScriptEngineCaching
public boolean isEnableScriptEngineCaching() -
setEnableScriptEngineCaching
public ProcessEngineConfigurationImpl setEnableScriptEngineCaching(boolean enableScriptEngineCaching) -
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) -
setBpmnStacktraceVerbose
-
isBpmnStacktraceVerbose
public boolean isBpmnStacktraceVerbose() -
isForceCloseMybatisConnectionPool
public boolean isForceCloseMybatisConnectionPool() -
setForceCloseMybatisConnectionPool
public ProcessEngineConfigurationImpl setForceCloseMybatisConnectionPool(boolean forceCloseMybatisConnectionPool) -
isRestrictUserOperationLogToAuthenticatedUsers
public boolean isRestrictUserOperationLogToAuthenticatedUsers() -
setRestrictUserOperationLogToAuthenticatedUsers
public ProcessEngineConfigurationImpl setRestrictUserOperationLogToAuthenticatedUsers(boolean restrictUserOperationLogToAuthenticatedUsers) -
setTenantIdProvider
-
getTenantIdProvider
-
setMigrationActivityMatcher
-
getMigrationActivityMatcher
-
setCustomPreMigrationActivityValidators
public void setCustomPreMigrationActivityValidators(List<MigrationActivityValidator> customPreMigrationActivityValidators) -
getCustomPreMigrationActivityValidators
-
setCustomPostMigrationActivityValidators
public void setCustomPostMigrationActivityValidators(List<MigrationActivityValidator> customPostMigrationActivityValidators) -
getCustomPostMigrationActivityValidators
-
getDefaultMigrationActivityValidators
-
setMigrationInstructionGenerator
public void setMigrationInstructionGenerator(MigrationInstructionGenerator migrationInstructionGenerator) -
getMigrationInstructionGenerator
-
setMigrationInstructionValidators
public void setMigrationInstructionValidators(List<MigrationInstructionValidator> migrationInstructionValidators) -
getMigrationInstructionValidators
-
setCustomPostMigrationInstructionValidators
public void setCustomPostMigrationInstructionValidators(List<MigrationInstructionValidator> customPostMigrationInstructionValidators) -
getCustomPostMigrationInstructionValidators
-
setCustomPreMigrationInstructionValidators
public void setCustomPreMigrationInstructionValidators(List<MigrationInstructionValidator> customPreMigrationInstructionValidators) -
getCustomPreMigrationInstructionValidators
-
getDefaultMigrationInstructionValidators
-
setMigratingActivityInstanceValidators
public void setMigratingActivityInstanceValidators(List<MigratingActivityInstanceValidator> migratingActivityInstanceValidators) -
getMigratingActivityInstanceValidators
-
setCustomPostMigratingActivityInstanceValidators
public void setCustomPostMigratingActivityInstanceValidators(List<MigratingActivityInstanceValidator> customPostMigratingActivityInstanceValidators) -
getCustomPostMigratingActivityInstanceValidators
-
setCustomPreMigratingActivityInstanceValidators
public void setCustomPreMigratingActivityInstanceValidators(List<MigratingActivityInstanceValidator> customPreMigratingActivityInstanceValidators) -
getCustomPreMigratingActivityInstanceValidators
-
getMigratingTransitionInstanceValidators
-
getMigratingCompensationInstanceValidators
-
getDefaultMigratingActivityInstanceValidators
-
getDefaultMigratingTransitionInstanceValidators
-
getCommandCheckers
-
setCommandCheckers
-
getDisableStrictCallActivityValidation
public boolean getDisableStrictCallActivityValidation() -
setDisableStrictCallActivityValidation
public void setDisableStrictCallActivityValidation(boolean disableStrictCallActivityValidation) -
getHistoryCleanupBatchWindowStartTime
-
setHistoryCleanupBatchWindowStartTime
-
getHistoryCleanupBatchWindowEndTime
-
setHistoryCleanupBatchWindowEndTime
-
getMondayHistoryCleanupBatchWindowStartTime
-
setMondayHistoryCleanupBatchWindowStartTime
public void setMondayHistoryCleanupBatchWindowStartTime(String mondayHistoryCleanupBatchWindowStartTime) -
getMondayHistoryCleanupBatchWindowEndTime
-
setMondayHistoryCleanupBatchWindowEndTime
public void setMondayHistoryCleanupBatchWindowEndTime(String mondayHistoryCleanupBatchWindowEndTime) -
getTuesdayHistoryCleanupBatchWindowStartTime
-
setTuesdayHistoryCleanupBatchWindowStartTime
public void setTuesdayHistoryCleanupBatchWindowStartTime(String tuesdayHistoryCleanupBatchWindowStartTime) -
getTuesdayHistoryCleanupBatchWindowEndTime
-
setTuesdayHistoryCleanupBatchWindowEndTime
public void setTuesdayHistoryCleanupBatchWindowEndTime(String tuesdayHistoryCleanupBatchWindowEndTime) -
getWednesdayHistoryCleanupBatchWindowStartTime
-
setWednesdayHistoryCleanupBatchWindowStartTime
public void setWednesdayHistoryCleanupBatchWindowStartTime(String wednesdayHistoryCleanupBatchWindowStartTime) -
getWednesdayHistoryCleanupBatchWindowEndTime
-
setWednesdayHistoryCleanupBatchWindowEndTime
public void setWednesdayHistoryCleanupBatchWindowEndTime(String wednesdayHistoryCleanupBatchWindowEndTime) -
getThursdayHistoryCleanupBatchWindowStartTime
-
setThursdayHistoryCleanupBatchWindowStartTime
public void setThursdayHistoryCleanupBatchWindowStartTime(String thursdayHistoryCleanupBatchWindowStartTime) -
getThursdayHistoryCleanupBatchWindowEndTime
-
setThursdayHistoryCleanupBatchWindowEndTime
public void setThursdayHistoryCleanupBatchWindowEndTime(String thursdayHistoryCleanupBatchWindowEndTime) -
getFridayHistoryCleanupBatchWindowStartTime
-
setFridayHistoryCleanupBatchWindowStartTime
public void setFridayHistoryCleanupBatchWindowStartTime(String fridayHistoryCleanupBatchWindowStartTime) -
getFridayHistoryCleanupBatchWindowEndTime
-
setFridayHistoryCleanupBatchWindowEndTime
public void setFridayHistoryCleanupBatchWindowEndTime(String fridayHistoryCleanupBatchWindowEndTime) -
getSaturdayHistoryCleanupBatchWindowStartTime
-
setSaturdayHistoryCleanupBatchWindowStartTime
public void setSaturdayHistoryCleanupBatchWindowStartTime(String saturdayHistoryCleanupBatchWindowStartTime) -
getSaturdayHistoryCleanupBatchWindowEndTime
-
setSaturdayHistoryCleanupBatchWindowEndTime
public void setSaturdayHistoryCleanupBatchWindowEndTime(String saturdayHistoryCleanupBatchWindowEndTime) -
getSundayHistoryCleanupBatchWindowStartTime
-
setSundayHistoryCleanupBatchWindowStartTime
public void setSundayHistoryCleanupBatchWindowStartTime(String sundayHistoryCleanupBatchWindowStartTime) -
getSundayHistoryCleanupBatchWindowEndTime
-
setSundayHistoryCleanupBatchWindowEndTime
public void setSundayHistoryCleanupBatchWindowEndTime(String sundayHistoryCleanupBatchWindowEndTime) -
getHistoryCleanupBatchWindowStartTimeAsDate
-
setHistoryCleanupBatchWindowStartTimeAsDate
public void setHistoryCleanupBatchWindowStartTimeAsDate(Date historyCleanupBatchWindowStartTimeAsDate) -
setHistoryCleanupBatchWindowEndTimeAsDate
-
getHistoryCleanupBatchWindowEndTimeAsDate
-
getHistoryCleanupBatchWindows
-
setHistoryCleanupBatchWindows
public void setHistoryCleanupBatchWindows(Map<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 returnstrue
only if bothhistoryCleanupMetricsEnabled
andisMetricsEnabled
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() -
setHistoryCleanupEnabled
-
getHistoryTimeToLive
-
setHistoryTimeToLive
-
isEnforceHistoryTimeToLive
public boolean isEnforceHistoryTimeToLive() -
setEnforceHistoryTimeToLive
-
getBatchOperationHistoryTimeToLive
-
getHistoryCleanupDegreeOfParallelism
public int getHistoryCleanupDegreeOfParallelism() -
setHistoryCleanupDegreeOfParallelism
public void setHistoryCleanupDegreeOfParallelism(int historyCleanupDegreeOfParallelism) -
setBatchOperationHistoryTimeToLive
-
getBatchOperationsForHistoryCleanup
-
setBatchOperationsForHistoryCleanup
-
getParsedBatchOperationsForHistoryCleanup
-
setParsedBatchOperationsForHistoryCleanup
-
getHistoryCleanupJobLogTimeToLive
-
setHistoryCleanupJobLogTimeToLive
public ProcessEngineConfigurationImpl setHistoryCleanupJobLogTimeToLive(String historyCleanupJobLogTimeToLive) -
getTaskMetricsTimeToLive
-
setTaskMetricsTimeToLive
-
getParsedTaskMetricsTimeToLive
-
setParsedTaskMetricsTimeToLive
public ProcessEngineConfigurationImpl setParsedTaskMetricsTimeToLive(Integer parsedTaskMetricsTimeToLive) -
getBatchWindowManager
-
setBatchWindowManager
-
getHistoryRemovalTimeProvider
-
setHistoryRemovalTimeProvider
public ProcessEngineConfigurationImpl setHistoryRemovalTimeProvider(HistoryRemovalTimeProvider removalTimeProvider) -
getHistoryRemovalTimeStrategy
-
setHistoryRemovalTimeStrategy
-
getHistoryCleanupStrategy
-
setHistoryCleanupStrategy
-
getFailedJobListenerMaxRetries
public int getFailedJobListenerMaxRetries() -
setFailedJobListenerMaxRetries
public void setFailedJobListenerMaxRetries(int failedJobListenerMaxRetries) -
getFailedJobRetryTimeCycle
-
setFailedJobRetryTimeCycle
-
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) -
isWebappsAuthenticationLoggingEnabled
public boolean isWebappsAuthenticationLoggingEnabled() -
setWebappsAuthenticationLoggingEnabled
public void setWebappsAuthenticationLoggingEnabled(boolean webappsAuthenticationLoggingEnabled) -
getAdminGroups
-
setAdminGroups
-
getAdminUsers
-
setAdminUsers
-
getQueryMaxResultsLimit
public int getQueryMaxResultsLimit() -
setQueryMaxResultsLimit
-
getLoggingContextActivityId
-
setLoggingContextActivityId
-
getLoggingContextActivityName
-
setLoggingContextActivityName
public ProcessEngineConfigurationImpl setLoggingContextActivityName(String loggingContextActivityName) -
getLoggingContextApplicationName
-
setLoggingContextApplicationName
public ProcessEngineConfigurationImpl setLoggingContextApplicationName(String loggingContextApplicationName) -
getLoggingContextBusinessKey
-
setLoggingContextBusinessKey
public ProcessEngineConfigurationImpl setLoggingContextBusinessKey(String loggingContextBusinessKey) -
getLoggingContextProcessDefinitionId
-
setLoggingContextProcessDefinitionId
public ProcessEngineConfigurationImpl setLoggingContextProcessDefinitionId(String loggingContextProcessDefinitionId) -
getLoggingContextProcessDefinitionKey
-
setLoggingContextProcessDefinitionKey
public ProcessEngineConfigurationImpl setLoggingContextProcessDefinitionKey(String loggingContextProcessDefinitionKey) -
getLoggingContextProcessInstanceId
-
setLoggingContextProcessInstanceId
public ProcessEngineConfigurationImpl setLoggingContextProcessInstanceId(String loggingContextProcessInstanceId) -
getLoggingContextTenantId
-
setLoggingContextTenantId
-
getLoggingContextEngineName
-
setLoggingContextEngineName
-
getLogLevelBpmnStackTrace
-
setLogLevelBpmnStackTrace
-
isEnableOptimisticLockingOnForeignKeyViolation
public boolean isEnableOptimisticLockingOnForeignKeyViolation() -
setEnableOptimisticLockingOnForeignKeyViolation
public ProcessEngineConfigurationImpl setEnableOptimisticLockingOnForeignKeyViolation(boolean enableOptimisticLockingOnForeignKeyViolation) -
getDmnFeelCustomFunctionProviders
-
setDmnFeelCustomFunctionProviders
public ProcessEngineConfigurationImpl setDmnFeelCustomFunctionProviders(List<FeelCustomFunctionProvider> dmnFeelCustomFunctionProviders) -
isDmnFeelEnableLegacyBehavior
public boolean isDmnFeelEnableLegacyBehavior() -
setDmnFeelEnableLegacyBehavior
public ProcessEngineConfigurationImpl setDmnFeelEnableLegacyBehavior(boolean dmnFeelEnableLegacyBehavior) -
isDmnReturnBlankTableOutputAsNull
public boolean isDmnReturnBlankTableOutputAsNull() -
setDmnReturnBlankTableOutputAsNull
public ProcessEngineConfigurationImpl setDmnReturnBlankTableOutputAsNull(boolean dmnReturnBlankTableOutputAsNull) -
isInitializeTelemetry
public boolean isInitializeTelemetry() -
setInitializeTelemetry
-
getTelemetryEndpoint
-
setTelemetryEndpoint
-
getTelemetryRequestRetries
public int getTelemetryRequestRetries() -
setTelemetryRequestRetries
-
getTelemetryReportingPeriod
public long getTelemetryReportingPeriod() -
setTelemetryReportingPeriod
-
getTelemetryReporter
-
setTelemetryReporter
-
isTelemetryReporterActivate
public boolean isTelemetryReporterActivate() -
setTelemetryReporterActivate
public ProcessEngineConfigurationImpl setTelemetryReporterActivate(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) -
getTelemetryData
-
setTelemetryData
-
getTelemetryRequestTimeout
public int getTelemetryRequestTimeout() -
setTelemetryRequestTimeout
-
setCommandRetries
-
getCommandRetries
public int getCommandRetries() -
isReevaluateTimeCycleWhenDue
public boolean isReevaluateTimeCycleWhenDue() -
setReevaluateTimeCycleWhenDue
public ProcessEngineConfigurationImpl setReevaluateTimeCycleWhenDue(boolean reevaluateTimeCycleWhenDue) -
getRemovalTimeUpdateChunkSize
public int getRemovalTimeUpdateChunkSize() -
setRemovalTimeUpdateChunkSize
-
getCrdbRetryInterceptor
-
getExceptionCodeInterceptor
- Returns:
- a exception code interceptor. The interceptor is not registered in case
disableExceptionCode
is configured totrue
.
-
getHostnameProvider()
instead.