Class ProcessEngineConfiguration
- Direct Known Subclasses:
ProcessEngineConfigurationImpl
Most common is to create a process engine based on the default configuration file:
ProcessEngine processEngine = ProcessEngineConfiguration .createProcessEngineConfigurationFromResourceDefault() .buildProcessEngine();
To create a process engine programatic, without a configuration file,
the first option is createStandaloneProcessEngineConfiguration()
ProcessEngine processEngine = ProcessEngineConfiguration .createStandaloneProcessEngineConfiguration() .buildProcessEngine();This creates a new process engine with all the defaults to connect to a remote h2 database (jdbc:h2:tcp://localhost/activiti) in standalone mode. Standalone mode means that Activiti will manage the transactions on the JDBC connections that it creates. One transaction per service method. For a description of how to write the configuration files, see the userguide.
The second option is great for testing: createStandaloneInMemProcessEngineConfiguration()
ProcessEngine processEngine = ProcessEngineConfiguration .createStandaloneInMemProcessEngineConfiguration() .buildProcessEngine();This creates a new process engine with all the defaults to connect to an memory h2 database (jdbc:h2:tcp://localhost/activiti) in standalone mode. The DB schema strategy default is in this case
create-drop
.
Standalone mode means that Activiti will manage the transactions
on the JDBC connections that it creates. One transaction per
service method.
On all forms of creating a process engine, you can first customize the configuration
before calling the buildProcessEngine()
method by calling any of the
setters like this:
ProcessEngine processEngine = ProcessEngineConfiguration .createProcessEngineConfigurationFromResourceDefault() .setMailServerHost("gmail.com") .setJdbcUsername("mickey") .setJdbcPassword("mouse") .buildProcessEngine();
- Author:
- Tom Baeyens
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Always enables check forrevoke
authorizations.static final String
This mode only checks forrevoke
authorizations if at least one revoke authorization currently exits for the current user or one of the groups the user is a member of.static final String
Never checks forrevoke
authorizations.protected String
protected boolean
switch for controlling whether the process engine performs authorization checks.protected boolean
The following flagauthorizationEnabledForCustomCode
will only be taken into account iffauthorizationEnabled
is settrue
.protected ProcessEngineBootstrapCommand
protected ClassLoader
protected boolean
protected String
protected String
protected String
protected String
protected DataSource
protected String
static final String
Creates the schema when the process engine is being created and drops the schema when the process engine is being closed.static final String
Checks the version of the DB schema against the library when the process engine is being created and throws an exception if the versions don't match.static final String
Upon building of the process engine, a check is performed and an update of the schema is performed if it is necessary.protected int
protected String
Provides the default task permission for the user related to a task User can be related to a task in the following ways - Candidate user - Part of candidate group - Assignee - Owner The default value is UPDATE.protected String
Specifies which classes are allowed for deserializationprotected String
Specifies which packages are allowed for deserializationprotected boolean
Indicates whether type validation should be done before deserializationprotected DeserializationTypeValidator
Validates types before deserializationSpecifies which permissions will not be taken into account in the authorizations checks if authorization is enabled.protected boolean
If the value of this flag is set tofalse
exceptions that occur during command execution will not be logged before re-thrown.protected boolean
If the value of this flag is settrue
then the process engine throwsProcessEngineException
when no catching boundary event was defined for an error event.protected boolean
configuration of password policyprotected boolean
If the value of this flag is set totrue
exceptions that occur during the execution of a job that still has retries left will not be logged.protected boolean
If the value of this flag is set totrue
, READ_INSTANCE_VARIABLE, READ_HISTORY_VARIABLE, or READ_TASK_VARIABLE on Process Definition resource, and READ_VARIABLE on Task resource READ_VARIABLE on Historic Task Instance resource will be required to fetch variables when the authorizations are enabled.protected boolean
protected String
A parameter used for defining acceptable values for the User, Group and Tenant IDs.protected String
A parameter used for defining acceptable values for the Group IDs.protected boolean
The flag will be used inside the method "JobManager#send()".protected String
static final String
Value forsetHistory(String)
to ensure that only historic process instances and historic activity instances are being recorded.static final String
Value forsetHistory(String)
to ensure that only historic process instances, historic activity instances and submitted form property values are being recorded.static final String
Value forsetHistory(String)
.static final String
History cleanup is performed based on end time.static final String
History cleanup is performed based on removal time.static final String
The default history level that is used when no history level is configuredstatic final String
Value forsetHistory(String)
to ensure that all historic information is being recorded, including the variable updates.static final String
Value forsetHistory(String)
to ensure that no history is being recorded.static final String
Removal time for historic entities is set if execution has been ended.static final String
Removal time for historic entities is not set.static final String
Removal time for historic entities is set on execution start.static final String
Deprecated.protected HistoryLevelSetupCommand
protected int
protected String
An unique installation identifierprotected boolean
protected String
protected int
protected int
protected int
protected int
protected String
protected int
protected boolean
protected String
protected Integer
the number of seconds the jdbc driver will wait for a response from the databaseprotected String
protected String
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected String
protected String
protected String
protected int
protected String
protected PasswordPolicy
protected String
protected boolean
protected boolean
protected SchemaOperationsCommand
protected boolean
If the value of this flag is set tofalse
,OptimisticLockingException
s are not skipped for UPDATE or DELETE operations applied to historic entities.protected boolean
On failing activities we can skip output mapping.protected boolean
If the value of this flag is settrue
then the process engine performs tenant checks to ensure that an authenticated user can only access data that belongs to one of his tenants.protected String
A parameter used for defining acceptable values for the Tenant IDs.protected boolean
protected String
A parameter used for defining acceptable values for the User IDs.protected boolean
protected ValueTypeResolver
-
Constructor Summary
ModifierConstructorDescriptionprotected
use one of the static createXxxx methods instead -
Method Summary
Modifier and TypeMethodDescriptionabstract ProcessEngine
static ProcessEngineConfiguration
static ProcessEngineConfiguration
createProcessEngineConfigurationFromInputStream
(InputStream inputStream, String beanName) static ProcessEngineConfiguration
static ProcessEngineConfiguration
createProcessEngineConfigurationFromResource
(String resource, String beanName) static ProcessEngineConfiguration
static ProcessEngineConfiguration
static ProcessEngineConfiguration
int
int
int
int
int
int
int
Gets the number of seconds the jdbc driver will wait for a response from the database.int
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
void
setAuthorizationCheckRevokes
(String authorizationCheckRevokes) setAuthorizationEnabled
(boolean isAuthorizationChecksEnabled) setAuthorizationEnabledForCustomCode
(boolean authorizationEnabledForCustomCode) setClassLoader
(ClassLoader classLoader) setCreateIncidentOnFailedJobEnabled
(boolean createIncidentOnFailedJobEnabled) setDatabaseSchemaUpdate
(String databaseSchemaUpdate) setDatabaseType
(String databaseType) setDatabaseVendor
(String databaseVendor) setDatabaseVersion
(String databaseVersion) setDataSource
(DataSource dataSource) void
setDataSourceJndiName
(String dataSourceJndiName) void
setDefaultNumberOfRetries
(int defaultNumberOfRetries) setDefaultUserPermissionNameForTask
(String defaultUserPermissionNameForTask) setDeserializationAllowedClasses
(String deserializationAllowedClasses) setDeserializationAllowedPackages
(String deserializationAllowedPackages) setDeserializationTypeValidationEnabled
(boolean deserializationTypeValidationEnabled) setDeserializationTypeValidator
(DeserializationTypeValidator deserializationTypeValidator) void
setDisabledPermissions
(List<String> disabledPermissions) setEnableCmdExceptionLogging
(boolean enableCmdExceptionLogging) void
setEnableExceptionsAfterUnhandledBpmnError
(boolean enableExceptionsAfterUnhandledBpmnError) setEnablePasswordPolicy
(boolean enablePasswordPolicy) setEnableReducedJobExceptionLogging
(boolean enableReducedJobExceptionLogging) void
setEnforceSpecificVariablePermission
(boolean ensureSpecificVariablePermission) void
setEnsureJobDueDateNotNull
(boolean ensureJobDueDateNotNull) void
setGeneralResourceWhitelistPattern
(String generalResourceWhitelistPattern) void
setGroupResourceWhitelistPattern
(String groupResourceWhitelistPattern) setHintJobExecutor
(boolean hintJobExecutor) setHistory
(String history) void
setHistoryLevelCommand
(HistoryLevelSetupCommand historyLevelCommand) setIdBlockSize
(int idBlockSize) setInstallationId
(String installationId) setJdbcBatchProcessing
(boolean jdbcBatchProcessing) 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) setJdbcStatementTimeout
(Integer jdbcStatementTimeout) Sets the number of seconds the jdbc driver will wait for a response from the database.setJdbcUrl
(String jdbcUrl) setJdbcUsername
(String jdbcUsername) setJobExecutorAcquireByDueDate
(boolean jobExecutorAcquireByDueDate) void
setJobExecutorAcquireByPriority
(boolean jobExecutorAcquireByPriority) setJobExecutorActivate
(boolean jobExecutorActivate) setJobExecutorDeploymentAware
(boolean jobExecutorDeploymentAware) setJobExecutorPreferTimerJobs
(boolean jobExecutorPreferTimerJobs) setMailServerDefaultFrom
(String mailServerDefaultFrom) setMailServerHost
(String mailServerHost) setMailServerPassword
(String mailServerPassword) setMailServerPort
(int mailServerPort) setMailServerUsername
(String mailServerUsername) setMailServerUseTLS
(boolean useTLS) setPasswordPolicy
(PasswordPolicy passwordPolicy) void
setProcessEngineBootstrapCommand
(ProcessEngineBootstrapCommand bootstrapCommand) setProcessEngineName
(String processEngineName) void
setProducePrioritizedExternalTasks
(boolean producePrioritizedExternalTasks) void
setProducePrioritizedJobs
(boolean producePrioritizedJobs) void
setSchemaOperationsCommand
(SchemaOperationsCommand schemaOperationsCommand) setSkipHistoryOptimisticLockingExceptions
(boolean skipHistoryOptimisticLockingExceptions) void
setSkipOutputMappingOnCanceledActivities
(boolean skipOutputMappingOnCanceledActivities) setTenantCheckEnabled
(boolean isTenantCheckEnabled) void
setTenantResourceWhitelistPattern
(String tenantResourceWhitelistPattern) setTransactionsExternallyManaged
(boolean transactionsExternallyManaged) void
setUserResourceWhitelistPattern
(String userResourceWhitelistPattern) setValueTypeResolver
(ValueTypeResolver valueTypeResolver)
-
Field Details
-
DB_SCHEMA_UPDATE_FALSE
Checks the version of the DB schema against the library when the process engine is being created and throws an exception if the versions don't match.- See Also:
-
DB_SCHEMA_UPDATE_CREATE_DROP
Creates the schema when the process engine is being created and drops the schema when the process engine is being closed.- See Also:
-
DB_SCHEMA_UPDATE_TRUE
Upon building of the process engine, a check is performed and an update of the schema is performed if it is necessary.- See Also:
-
HISTORY_NONE
Value forsetHistory(String)
to ensure that no history is being recorded.- See Also:
-
HISTORY_ACTIVITY
Value forsetHistory(String)
to ensure that only historic process instances and historic activity instances are being recorded. This means no details for those entities.- See Also:
-
HISTORY_VARIABLE
Deprecated.Value forsetHistory(String)
to ensure that only historic process instances, historic activity instances and last process variable values are being recorded.NOTE: This history level has been deprecated. Use level
HISTORY_ACTIVITY
instead.- See Also:
-
HISTORY_AUDIT
Value forsetHistory(String)
to ensure that only historic process instances, historic activity instances and submitted form property values are being recorded.- See Also:
-
HISTORY_FULL
Value forsetHistory(String)
to ensure that all historic information is being recorded, including the variable updates.- See Also:
-
HISTORY_AUTO
Value forsetHistory(String)
. Choosing auto causes the configuration to choose the level already present on the database. If none can be found, "audit" is taken.- See Also:
-
HISTORY_DEFAULT
The default history level that is used when no history level is configured- See Also:
-
HISTORY_CLEANUP_STRATEGY_END_TIME_BASED
History cleanup is performed based on end time.- See Also:
-
HISTORY_CLEANUP_STRATEGY_REMOVAL_TIME_BASED
History cleanup is performed based on removal time.- See Also:
-
HISTORY_REMOVAL_TIME_STRATEGY_START
Removal time for historic entities is set on execution start.- See Also:
-
HISTORY_REMOVAL_TIME_STRATEGY_END
Removal time for historic entities is set if execution has been ended.- See Also:
-
HISTORY_REMOVAL_TIME_STRATEGY_NONE
Removal time for historic entities is not set.- See Also:
-
AUTHORIZATION_CHECK_REVOKE_ALWAYS
Always enables check forrevoke
authorizations. This mode is equal to the < 7.5 behavior. *NOTE:* Checking revoke authorizations is very expensive for resources with a high potential cardinality like tasks or process instances and can render authorized access to the process engine effectively unusable on most databases. You are therefore strongly discouraged from using this mode.- See Also:
-
AUTHORIZATION_CHECK_REVOKE_NEVER
Never checks forrevoke
authorizations. This mode has best performance effectively disables the use ofAuthorization.AUTH_TYPE_REVOKE
. *Note*: It is strongly recommended to use this mode.- See Also:
-
AUTHORIZATION_CHECK_REVOKE_AUTO
This mode only checks forrevoke
authorizations if at least one revoke authorization currently exits for the current user or one of the groups the user is a member of. To achieve this it is checked once per command whether potentially applicable revoke authorizations exist. Based on the outcome, the authorization check then uses revoke or not. *NOTE:* Checking revoke authorizations is very expensive for resources with a high potential cardinality like tasks or process instances and can render authorized access to the process engine effectively unusable on most databases.- See Also:
-
processEngineName
-
idBlockSize
protected int idBlockSize -
history
-
jobExecutorActivate
protected boolean jobExecutorActivate -
jobExecutorDeploymentAware
protected boolean jobExecutorDeploymentAware -
jobExecutorPreferTimerJobs
protected boolean jobExecutorPreferTimerJobs -
jobExecutorAcquireByDueDate
protected boolean jobExecutorAcquireByDueDate -
jobExecutorAcquireByPriority
protected boolean jobExecutorAcquireByPriority -
ensureJobDueDateNotNull
protected boolean ensureJobDueDateNotNull -
producePrioritizedJobs
protected boolean producePrioritizedJobs -
producePrioritizedExternalTasks
protected boolean producePrioritizedExternalTasks -
hintJobExecutor
protected boolean hintJobExecutorThe flag will be used inside the method "JobManager#send()". It will be used to decide whether to notify the job executor that a new job has been created. It will be used for performance improvement, so that the new job could be executed in some situations immediately. -
mailServerHost
-
mailServerUsername
-
mailServerPassword
-
mailServerPort
protected int mailServerPort -
useTLS
protected boolean useTLS -
mailServerDefaultFrom
-
databaseType
-
databaseVendor
-
databaseVersion
-
databaseSchemaUpdate
-
jdbcDriver
-
jdbcUrl
-
jdbcUsername
-
jdbcPassword
-
dataSourceJndiName
-
jdbcMaxActiveConnections
protected int jdbcMaxActiveConnections -
jdbcMaxIdleConnections
protected int jdbcMaxIdleConnections -
jdbcMaxCheckoutTime
protected int jdbcMaxCheckoutTime -
jdbcMaxWaitTime
protected int jdbcMaxWaitTime -
jdbcPingEnabled
protected boolean jdbcPingEnabled -
jdbcPingQuery
-
jdbcPingConnectionNotUsedFor
protected int jdbcPingConnectionNotUsedFor -
dataSource
-
schemaOperationsCommand
-
bootstrapCommand
-
historyLevelCommand
-
transactionsExternallyManaged
protected boolean transactionsExternallyManaged -
jdbcStatementTimeout
the number of seconds the jdbc driver will wait for a response from the database -
jdbcBatchProcessing
protected boolean jdbcBatchProcessing -
defaultNumberOfRetries
protected int defaultNumberOfRetries -
classLoader
-
createIncidentOnFailedJobEnabled
protected boolean createIncidentOnFailedJobEnabled -
enablePasswordPolicy
protected boolean enablePasswordPolicyconfiguration of password policy -
passwordPolicy
-
authorizationEnabled
protected boolean authorizationEnabledswitch for controlling whether the process engine performs authorization checks. The default value is false. -
defaultUserPermissionNameForTask
Provides the default task permission for the user related to a task User can be related to a task in the following ways - Candidate user - Part of candidate group - Assignee - Owner The default value is UPDATE. -
authorizationEnabledForCustomCode
protected boolean authorizationEnabledForCustomCodeThe following flag
authorizationEnabledForCustomCode
will only be taken into account iffauthorizationEnabled
is settrue
.If the value of the flag
authorizationEnabledForCustomCode
is settrue
then an authorization check will be performed by executing commands inside custom code (e.g. insideJavaDelegate
).The default value is
false
. -
tenantCheckEnabled
protected boolean tenantCheckEnabledIf the value of this flag is settrue
then the process engine performs tenant checks to ensure that an authenticated user can only access data that belongs to one of his tenants. -
valueTypeResolver
-
authorizationCheckRevokes
-
generalResourceWhitelistPattern
A parameter used for defining acceptable values for the User, Group and Tenant IDs. The pattern can be defined by using the standard Java Regular Expression syntax should be used.By default only alphanumeric values (or 'camunda-admin') will be accepted.
-
userResourceWhitelistPattern
A parameter used for defining acceptable values for the User IDs. The pattern can be defined by using the standard Java Regular Expression syntax should be used.If not defined, the general pattern is used. Only alphanumeric values (or 'camunda-admin') will be accepted.
-
groupResourceWhitelistPattern
A parameter used for defining acceptable values for the Group IDs. The pattern can be defined by using the standard Java Regular Expression syntax should be used.If not defined, the general pattern is used. Only alphanumeric values (or 'camunda-admin') will be accepted.
-
tenantResourceWhitelistPattern
A parameter used for defining acceptable values for the Tenant IDs. The pattern can be defined by using the standard Java Regular Expression syntax should be used.If not defined, the general pattern is used. Only alphanumeric values (or 'camunda-admin') will be accepted.
-
enableExceptionsAfterUnhandledBpmnError
protected boolean enableExceptionsAfterUnhandledBpmnErrorIf the value of this flag is settrue
then the process engine throwsProcessEngineException
when no catching boundary event was defined for an error event.The default value is
false
. -
skipHistoryOptimisticLockingExceptions
protected boolean skipHistoryOptimisticLockingExceptionsIf the value of this flag is set tofalse
,OptimisticLockingException
s are not skipped for UPDATE or DELETE operations applied to historic entities.The default value is
true
. -
enforceSpecificVariablePermission
protected boolean enforceSpecificVariablePermissionIf the value of this flag is set totrue
, READ_INSTANCE_VARIABLE, READ_HISTORY_VARIABLE, or READ_TASK_VARIABLE on Process Definition resource, and READ_VARIABLE on Task resource READ_VARIABLE on Historic Task Instance resource will be required to fetch variables when the authorizations are enabled. -
disabledPermissions
Specifies which permissions will not be taken into account in the authorizations checks if authorization is enabled. -
enableCmdExceptionLogging
protected boolean enableCmdExceptionLoggingIf the value of this flag is set tofalse
exceptions that occur during command execution will not be logged before re-thrown. This can prevent multiple logs of the same exception (e.g. exceptions that occur during job execution) but can also hide valuable debugging/rootcausing information. -
enableReducedJobExceptionLogging
protected boolean enableReducedJobExceptionLoggingIf the value of this flag is set totrue
exceptions that occur during the execution of a job that still has retries left will not be logged. If the job does not have any retries left, the exception will still be logged on logging level WARN. -
deserializationAllowedClasses
Specifies which classes are allowed for deserialization -
deserializationAllowedPackages
Specifies which packages are allowed for deserialization -
deserializationTypeValidator
Validates types before deserialization -
deserializationTypeValidationEnabled
protected boolean deserializationTypeValidationEnabledIndicates whether type validation should be done before deserialization -
installationId
An unique installation identifier -
skipOutputMappingOnCanceledActivities
protected boolean skipOutputMappingOnCanceledActivitiesOn failing activities we can skip output mapping. This might be helpful if output mapping uses variables that might not be available on failure (e.g. with external tasks or RPA tasks).
-
-
Constructor Details
-
ProcessEngineConfiguration
protected ProcessEngineConfiguration()use one of the static createXxxx methods instead
-
-
Method Details
-
buildProcessEngine
-
createProcessEngineConfigurationFromResourceDefault
-
createProcessEngineConfigurationFromResource
public static ProcessEngineConfiguration createProcessEngineConfigurationFromResource(String resource) -
createProcessEngineConfigurationFromResource
public static ProcessEngineConfiguration createProcessEngineConfigurationFromResource(String resource, String beanName) -
createProcessEngineConfigurationFromInputStream
public static ProcessEngineConfiguration createProcessEngineConfigurationFromInputStream(InputStream inputStream) -
createProcessEngineConfigurationFromInputStream
public static ProcessEngineConfiguration createProcessEngineConfigurationFromInputStream(InputStream inputStream, String beanName) -
createStandaloneProcessEngineConfiguration
-
createStandaloneInMemProcessEngineConfiguration
-
getProcessEngineName
-
setProcessEngineName
-
getIdBlockSize
public int getIdBlockSize() -
setIdBlockSize
-
getHistory
-
setHistory
-
getMailServerHost
-
setMailServerHost
-
getMailServerUsername
-
setMailServerUsername
-
getMailServerPassword
-
setMailServerPassword
-
getMailServerPort
public int getMailServerPort() -
setMailServerPort
-
getMailServerUseTLS
public boolean getMailServerUseTLS() -
setMailServerUseTLS
-
getMailServerDefaultFrom
-
setMailServerDefaultFrom
-
getDatabaseType
-
setDatabaseType
-
getDatabaseVendor
-
setDatabaseVendor
-
getDatabaseVersion
-
setDatabaseVersion
-
getDatabaseSchemaUpdate
-
setDatabaseSchemaUpdate
-
getDataSource
-
setDataSource
-
getSchemaOperationsCommand
-
setSchemaOperationsCommand
-
getProcessEngineBootstrapCommand
-
setProcessEngineBootstrapCommand
-
getHistoryLevelCommand
-
setHistoryLevelCommand
-
getJdbcDriver
-
setJdbcDriver
-
getJdbcUrl
-
setJdbcUrl
-
getJdbcUsername
-
setJdbcUsername
-
getJdbcPassword
-
setJdbcPassword
-
isTransactionsExternallyManaged
public boolean isTransactionsExternallyManaged() -
setTransactionsExternallyManaged
public ProcessEngineConfiguration setTransactionsExternallyManaged(boolean transactionsExternallyManaged) -
getJdbcMaxActiveConnections
public int getJdbcMaxActiveConnections() -
setJdbcMaxActiveConnections
-
getJdbcMaxIdleConnections
public int getJdbcMaxIdleConnections() -
setJdbcMaxIdleConnections
-
getJdbcMaxCheckoutTime
public int getJdbcMaxCheckoutTime() -
setJdbcMaxCheckoutTime
-
getJdbcMaxWaitTime
public int getJdbcMaxWaitTime() -
setJdbcMaxWaitTime
-
isJdbcPingEnabled
public boolean isJdbcPingEnabled() -
setJdbcPingEnabled
-
getJdbcPingQuery
-
setJdbcPingQuery
-
getJdbcPingConnectionNotUsedFor
public int getJdbcPingConnectionNotUsedFor() -
setJdbcPingConnectionNotUsedFor
-
getJdbcStatementTimeout
Gets the number of seconds the jdbc driver will wait for a response from the database. -
setJdbcStatementTimeout
Sets the number of seconds the jdbc driver will wait for a response from the database. -
isJdbcBatchProcessing
public boolean isJdbcBatchProcessing() -
setJdbcBatchProcessing
-
isJobExecutorActivate
public boolean isJobExecutorActivate() -
setJobExecutorActivate
-
isJobExecutorDeploymentAware
public boolean isJobExecutorDeploymentAware() -
setJobExecutorDeploymentAware
-
isJobExecutorAcquireByDueDate
public boolean isJobExecutorAcquireByDueDate() -
setJobExecutorAcquireByDueDate
public ProcessEngineConfiguration setJobExecutorAcquireByDueDate(boolean jobExecutorAcquireByDueDate) -
isJobExecutorPreferTimerJobs
public boolean isJobExecutorPreferTimerJobs() -
setJobExecutorPreferTimerJobs
-
isHintJobExecutor
public boolean isHintJobExecutor() -
setHintJobExecutor
-
getClassLoader
-
setClassLoader
-
getDataSourceJndiName
-
setDataSourceJndiName
-
isCreateIncidentOnFailedJobEnabled
public boolean isCreateIncidentOnFailedJobEnabled() -
setCreateIncidentOnFailedJobEnabled
public ProcessEngineConfiguration setCreateIncidentOnFailedJobEnabled(boolean createIncidentOnFailedJobEnabled) -
isAuthorizationEnabled
public boolean isAuthorizationEnabled() -
setAuthorizationEnabled
-
getDefaultUserPermissionNameForTask
-
setDefaultUserPermissionNameForTask
public ProcessEngineConfiguration setDefaultUserPermissionNameForTask(String defaultUserPermissionNameForTask) -
isAuthorizationEnabledForCustomCode
public boolean isAuthorizationEnabledForCustomCode() -
setAuthorizationEnabledForCustomCode
public ProcessEngineConfiguration setAuthorizationEnabledForCustomCode(boolean authorizationEnabledForCustomCode) -
isTenantCheckEnabled
public boolean isTenantCheckEnabled() -
setTenantCheckEnabled
-
getGeneralResourceWhitelistPattern
-
setGeneralResourceWhitelistPattern
-
getUserResourceWhitelistPattern
-
setUserResourceWhitelistPattern
-
getGroupResourceWhitelistPattern
-
setGroupResourceWhitelistPattern
-
getTenantResourceWhitelistPattern
-
setTenantResourceWhitelistPattern
-
getDefaultNumberOfRetries
public int getDefaultNumberOfRetries() -
setDefaultNumberOfRetries
public void setDefaultNumberOfRetries(int defaultNumberOfRetries) -
getValueTypeResolver
-
setValueTypeResolver
-
isEnsureJobDueDateNotNull
public boolean isEnsureJobDueDateNotNull() -
setEnsureJobDueDateNotNull
public void setEnsureJobDueDateNotNull(boolean ensureJobDueDateNotNull) -
isProducePrioritizedJobs
public boolean isProducePrioritizedJobs() -
setProducePrioritizedJobs
public void setProducePrioritizedJobs(boolean producePrioritizedJobs) -
isJobExecutorAcquireByPriority
public boolean isJobExecutorAcquireByPriority() -
setJobExecutorAcquireByPriority
public void setJobExecutorAcquireByPriority(boolean jobExecutorAcquireByPriority) -
isProducePrioritizedExternalTasks
public boolean isProducePrioritizedExternalTasks() -
setProducePrioritizedExternalTasks
public void setProducePrioritizedExternalTasks(boolean producePrioritizedExternalTasks) -
setAuthorizationCheckRevokes
-
getAuthorizationCheckRevokes
-
isEnableExceptionsAfterUnhandledBpmnError
public boolean isEnableExceptionsAfterUnhandledBpmnError() -
setEnableExceptionsAfterUnhandledBpmnError
public void setEnableExceptionsAfterUnhandledBpmnError(boolean enableExceptionsAfterUnhandledBpmnError) -
isSkipHistoryOptimisticLockingExceptions
public boolean isSkipHistoryOptimisticLockingExceptions() -
setSkipHistoryOptimisticLockingExceptions
public ProcessEngineConfiguration setSkipHistoryOptimisticLockingExceptions(boolean skipHistoryOptimisticLockingExceptions) -
isEnforceSpecificVariablePermission
public boolean isEnforceSpecificVariablePermission() -
setEnforceSpecificVariablePermission
public void setEnforceSpecificVariablePermission(boolean ensureSpecificVariablePermission) -
getDisabledPermissions
-
setDisabledPermissions
-
isEnablePasswordPolicy
public boolean isEnablePasswordPolicy() -
setEnablePasswordPolicy
-
getPasswordPolicy
-
setPasswordPolicy
-
isEnableCmdExceptionLogging
public boolean isEnableCmdExceptionLogging() -
setEnableCmdExceptionLogging
-
isEnableReducedJobExceptionLogging
public boolean isEnableReducedJobExceptionLogging() -
setEnableReducedJobExceptionLogging
public ProcessEngineConfiguration setEnableReducedJobExceptionLogging(boolean enableReducedJobExceptionLogging) -
getDeserializationAllowedClasses
-
setDeserializationAllowedClasses
public ProcessEngineConfiguration setDeserializationAllowedClasses(String deserializationAllowedClasses) -
getDeserializationAllowedPackages
-
setDeserializationAllowedPackages
public ProcessEngineConfiguration setDeserializationAllowedPackages(String deserializationAllowedPackages) -
getDeserializationTypeValidator
-
setDeserializationTypeValidator
public ProcessEngineConfiguration setDeserializationTypeValidator(DeserializationTypeValidator deserializationTypeValidator) -
isDeserializationTypeValidationEnabled
public boolean isDeserializationTypeValidationEnabled() -
setDeserializationTypeValidationEnabled
public ProcessEngineConfiguration setDeserializationTypeValidationEnabled(boolean deserializationTypeValidationEnabled) -
getInstallationId
-
setInstallationId
-
isSkipOutputMappingOnCanceledActivities
public boolean isSkipOutputMappingOnCanceledActivities() -
setSkipOutputMappingOnCanceledActivities
public void setSkipOutputMappingOnCanceledActivities(boolean skipOutputMappingOnCanceledActivities)
-