Class ProcessEngineConfigurationImpl
- Direct Known Subclasses:
AbstractTransactionProcessEngineConfiguration,SpringTransactionsProcessEngineConfiguration,StandaloneProcessEngineConfiguration
- Author:
- Tom Baeyens
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CommandInterceptorprotected ArtifactFactoryused to create instances for listeners, JavaDelegates, etcprotected AuthorizationServiceprotected booleanprotected Map<String,BatchJobHandler<?>> protected longdefault priority for batch jobsprotected intNumber of jobs created by a batch seed job invocationprotected Stringprotected intseconds to wait between polling for batch completionprotected BatchWindowManagerprotected BpmnParseFactoryprotected ExceptionCodeProviderHolds the default implementation ofExceptionCodeProvider.protected BusinessCalendarManagerprotected intstatic org.apache.ibatis.session.SqlSessionFactoryprotected CacheFactoryprotected CaseServiceprotected DefaultCmmnElementHandlerRegistryprotected booleanWhen 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 asCaseDefinitionto the engine. Tasks from CMMN cases are not returned by theTaskQuery.protected CmmnHistoryEventProducerprotected CmmnTransformFactoryprotected List<CommandChecker>protected CommandContextFactoryprotected CommandExecutorSeparate command executor to be used for db schema operations.protected CommandExecutorthis will be initialized during the configurationComplete()protected CommandExecutorthis will be initialized during the configurationComplete()protected List<CommandInterceptor>protected List<CommandInterceptor>protected ConditionHandlerprotected booleanprotected CorrelationHandlerprotected List<BatchJobHandler<?>>protected List<EventHandler>protected ExceptionCodeProviderAllows registering a custom implementation of aExceptionCodeProviderallowing to provide custom exception codes.protected List<FormEngine>protected Map<String,Class<? extends FormFieldValidator>> protected List<AbstractFormFieldType>protected List<HistoryEventHandler>Allows users to add additionalHistoryEventHandlerinstances 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 beprocessedto build thecommandExecutorTxRequiredprotected List<CommandInterceptor>the configurable list which will beprocessedto build thecommandExecutorTxRequiresNewprotected List<MigratingActivityInstanceValidator>protected List<MigrationActivityValidator>protected List<MigrationInstructionValidator>protected List<TypedValueSerializer>protected RejectedJobsHandlerprotected List<SessionFactory>protected StringIn 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 Stringprotected static Propertiesstatic final Stringstatic final Stringprotected DbEntityCacheKeyMappingprotected DbMetricsReporterprotected DbSqlSessionFactoryprotected DecisionServicestatic final intstatic final intstatic final Stringstatic final Stringprotected Charsetprotected Stringprotected Stringprotected Permissionprotected DelegateInterceptorprotected DeploymentCacheprotected DeploymentHandlerFactoryprotected DiagnosticsCollectorprotected DiagnosticsRegistryprotected booleanDisables the default implementation ofExceptionCodeProviderwhich allows overriding the reserved exception codes >ExceptionCodeInterceptor.MAX_CUSTOM_CODEor <ExceptionCodeInterceptor.MIN_CUSTOM_CODE.protected booleanDisables theExceptionCodeInterceptorand therefore the whole exception code feature.protected booleanprotected booleandon't throw parsing exceptions for Camunda Forms if set to trueprotected ElProviderprotected booleanWhen 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 asDecisionDefinitionorDecisionRequirementsDefinitionto the engine.protected DmnEngineprotected DefaultDmnEngineConfigurationprotected List<FeelCustomFunctionProvider>a list of DMN FEEL custom function providersprotected booleanEnable DMN FEEL legacy behaviorprotected DmnHistoryEventProducerprotected booleanControls whether blank DMN table outputs are swallowed or returned asnull.protected booleanIf true, the defaultDbHistoryEventHandlerwill be included in the list of history event handlers.protected booleanhandling of expressions submitted via API; can be used as guards against remote code executionprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanHistoric instance permissions are disabled by defaultprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanIf false, disables XML eXternal Entity (XXE) Processing.protected booleanFeature flag that fails the deployment of process, decision, and case resources if their historyTimeToLive isnull.protected Map<String,EventHandler> protected ExpressionManagerprotected PriorityProvider<ExternalTaskActivityBehavior>protected ExternalTaskServiceprotected FailedJobCommandFactoryprotected Stringprotected VariableSerializerFactoryprotected FilterServiceprotected booleanprotected Map<String,FormEngine> protected FormServiceprotected FormTypesprotected FormValidatorsprotected Stringprotected Stringprotected Stringprotected Dateprotected Map<Integer,BatchWindowConfiguration> protected Stringprotected Dateprotected intSpecifies how often a cleanup job will be executed before an incident is raised.protected intprotected booleanControls whether engine participates in history cleanup or not.protected StringTime to live for historic job log entries written by history cleanup jobs.protected longDefault priority for history cleanup jobs.protected Stringprotected HistoryEventHandlerAs an instance ofCompositeHistoryEventHandlerit contains all the provided history event handlers that process history events.protected HistoryEventProducerprotected HistoryLevelstatic final intstatic final intstatic final intstatic final intprotected List<HistoryLevel>a list of supported history levelsprotected HistoryRemovalTimeProviderprotected Stringprotected HistoryServiceprotected Stringprotected Stringthe historic job log host nameprotected HostnameProviderprotected SessionFactorysession factory to be used for obtaining identity provider sessionsprotected IdentityServiceprotected IdGeneratorprotected DataSourceprotected Stringprotected booleanprotected Map<String,IncidentHandler> protected intNumber 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 booleanprotected booleanIf true, the incident handlers init asCompositeIncidentHandlerand multiple incident handlers can be added for the same Incident type.protected booleanprotected booleanAllows setting whether the process engine should try reusing the first level entity cache.protected booleanprotected booleanprotected booleanprotected booleanIf true the process engine will attempt to acquire an exclusive lock before creating a deployment.protected booleanIf true then several deployments will be processed strictly sequentially.protected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected JobExecutorprotected booleanWhen set to false, exclusivity (no parallel execution) of tasks is applied per process instance.protected longprotected longprotected Map<String,JobHandler> protected PriorityProvider<JobDeclaration<?,?>> protected booleanThis legacy behavior sets the retry counter to 3 in the context when running a the job for the first time.protected static ConfigurationLoggerprotected longMaximum number of operation log entries written per synchronous operation.protected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected intprotected intprotected intprotected intprotected Stringprotected ManagementServiceprotected static final Stringprotected MetricsRegistrythe metrics registryprotected MetricsReporterIdProviderprotected List<MigratingActivityInstanceValidator>protected List<MigratingCompensationInstanceValidator>protected List<MigratingTransitionInstanceValidator>protected MigrationActivityMatcherprotected MigrationInstructionGeneratorprotected List<MigrationInstructionValidator>protected Stringprotected Stringprotected static final Stringprotected OptimizeServiceprotected Integerprotected PasswordEncryptorprotected PasswordManagerprotected PermissionProviderprotected static final Stringprotected List<BpmnParseListener>protected List<BpmnParseListener>protected ProcessApplicationManagerprotected ProcessEngineImplThe process engine created by this configuration.protected List<ProcessEnginePlugin>protected static final Stringprotected intprotected booleanControls whether the time cycle is re-evaluated when due.protected intSize of batch in which removal time data will be updated.protected RepositoryServiceprotected List<ResolverFactory>protected ResourceAuthorizationProviderprotected booleanIf true, user operation log entries are only written if there is an authenticated user present in the context.protected RuntimeServiceprotected SaltGeneratorprotected Stringprotected Stringprotected Stringprotected ScriptEngineResolverprotected List<ScriptEnvResolver>protected ScriptFactoryprotected ScriptingEnginesprotected ScriptingEnvironmentprotected Map<Class<?>,SessionFactory> protected booleanprotected org.apache.ibatis.session.SqlSessionFactoryprotected booleanWhen set tofalse, the following behavior changes: Standalone tasks can no longer be created via API. Standalone tasks are not returned by the TaskQuery.protected Stringprotected Stringprotected Stringprotected TaskServiceprotected TelemetryDataImplprotected TenantIdProviderprotected Stringprotected Stringprotected TransactionContextFactoryprotected org.apache.ibatis.transaction.TransactionFactoryprotected Stringprotected Stringprotected VariableSerializersprotected booleanprotected Stringprotected Stringprotected StringFields 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, tenantCheckEnabled, tenantResourceWhitelistPattern, transactionsExternallyManaged, userResourceWhitelistPattern, useTLS, valueTypeResolver -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddIncidentHandler(IncidentHandler incidentHandler) protected voidaddSessionFactory(SessionFactory sessionFactory) protected StringcheckForMariaDb(DatabaseMetaData databaseMetaData, String databaseName) The product name of mariadb is still 'MySQL'.protected voidvoidclose()protected voidensurePrefixAndSchemaFitToegether(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<?>> longintintgetBeans()protected BpmnDeployerprotected CamundaFormDefinitionDeployerprotected CmmnDeployerprotected IntegerList<BatchJobHandler<?>>Map<String,Class<? extends FormFieldValidator>> protected DecisionDefinitionDeployerprotected DecisionRequirementsDefinitionDeployerprotected List<BpmnParseListener>protected List<CmmnTransformListener>protected abstract Collection<? extends CommandInterceptor>protected abstract Collection<? extends CommandInterceptor>protected static Propertiesprotected Collection<? extends Deployer>booleanbooleangetEventHandler(String eventType) protected ExceptionCodeInterceptorintintintintintlonggetIncidentHandler(String incidentType) intlonglonglongintintintintDeprecated.protected InputStreamDeprecated.usegetCustomPostBPMNParseListeners()instead.Deprecated.usegetCustomPreBPMNParseListeners()instead.intintMap<Class<?>,SessionFactory> booleanorg.apache.ibatis.session.SqlSessionFactoryorg.apache.ibatis.transaction.TransactionFactoryprotected voidinit()protected voidprotected voidprotected voidprotected voidvoidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidvoidprotected voidinitDatabaseVendorAndVersion(DatabaseMetaData databaseMetaData) protected voidprotected voidprotected voidinitDefaultMetrics(MetricsRegistry metricsRegistry) protected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidvoidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidvoidprotected voidprotected voidprotected voidprotected voidvoidvoidvoidvoidprotected voidprotected voidprotected voidprotected voidprotected voidprotected CommandInterceptorprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidvoidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidinitService(Object service) protected voidprotected voidprotected voidstatic voidinitSqlSessionFactoryProperties(Properties properties, String databaseTablePrefix, String databaseType) protected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanChecks if history cleanup metrics are enabled.booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanvoidsetAdminGroups(List<String> adminGroups) voidsetAdminUsers(List<String> adminUsers) setArtifactFactory(ArtifactFactory artifactFactory) voidsetAuthorizationService(AuthorizationService authorizationService) voidsetAutoStoreScriptVariables(boolean autoStoreScriptVariables) If set to true, the process engine will save all script variables (created from Java Script, Groovy ...) as process variables.voidsetBatchHandlers(Map<String, BatchJobHandler<?>> batchHandlers) voidsetBatchJobPriority(long batchJobPriority) voidsetBatchJobsPerSeed(int batchJobsPerSeed) voidsetBatchOperationHistoryTimeToLive(String batchOperationHistoryTimeToLive) voidsetBatchOperationsForHistoryCleanup(Map<String, String> batchOperationsForHistoryCleanup) voidsetBatchPollTime(int batchPollTime) voidsetBatchWindowManager(BatchWindowManager batchWindowManager) voidsetBpmnParseFactory(BpmnParseFactory bpmnParseFactory) setBpmnStacktraceVerbose(boolean isBpmnStacktraceVerbose) voidsetBuiltinExceptionCodeProvider(ExceptionCodeProvider builtinExceptionCodeProvider) setBusinessCalendarManager(BusinessCalendarManager businessCalendarManager) voidsetCacheCapacity(int cacheCapacity) voidsetCacheFactory(CacheFactory cacheFactory) voidsetCaseService(CaseService caseService) setClassLoader(ClassLoader classLoader) voidsetCmmnEnabled(boolean cmmnEnabled) setCmmnHistoryEventProducer(CmmnHistoryEventProducer cmmnHistoryEventProducer) voidsetCommandCheckers(List<CommandChecker> commandCheckers) setCommandContextFactory(CommandContextFactory commandContextFactory) voidsetCommandExecutorSchemaOperations(CommandExecutor commandExecutorSchemaOperations) setCommandExecutorTxRequired(CommandExecutor commandExecutorTxRequired) setCommandExecutorTxRequiresNew(CommandExecutor commandExecutorTxRequiresNew) setCommandInterceptorsTxRequired(List<CommandInterceptor> commandInterceptorsTxRequired) setCommandInterceptorsTxRequiresNew(List<CommandInterceptor> commandInterceptorsTxRequiresNew) setCompositeIncidentHandlersEnabled(boolean compositeIncidentHandlersEnabled) voidsetConditionHandler(ConditionHandler conditionHandler) setConfigureScriptEngineHostAccess(boolean configureScriptEngineHostAccess) voidsetCorrelationHandler(CorrelationHandler correlationHandler) setCreateDiagramOnDeploy(boolean createDiagramOnDeploy) voidsetCustomBatchJobHandlers(List<BatchJobHandler<?>> customBatchJobHandlers) voidsetCustomEventHandlers(List<EventHandler> customEventHandlers) voidsetCustomExceptionCodeProvider(ExceptionCodeProvider customExceptionCodeProvider) Setter to register a custom implementation of aExceptionCodeProviderallowing to provide custom error codes.setCustomFormEngines(List<FormEngine> customFormEngines) voidsetCustomFormFieldValidators(Map<String, Class<? extends FormFieldValidator>> customFormFieldValidators) setCustomFormTypes(List<AbstractFormFieldType> customFormTypes) voidsetCustomHistoryEventHandlers(List<HistoryEventHandler> customHistoryEventHandlers) setCustomHistoryLevels(List<HistoryLevel> customHistoryLevels) voidsetCustomIncidentHandlers(List<IncidentHandler> customIncidentHandlers) setCustomJobHandlers(List<JobHandler> customJobHandlers) voidsetCustomPasswordChecker(List<PasswordEncryptor> customPasswordChecker) voidsetCustomPostBPMNParseListeners(List<BpmnParseListener> postParseListeners) voidsetCustomPostCmmnTransformListeners(List<CmmnTransformListener> customPostCmmnTransformListeners) setCustomPostCommandInterceptorsTxRequired(List<CommandInterceptor> customPostCommandInterceptorsTxRequired) setCustomPostCommandInterceptorsTxRequiresNew(List<CommandInterceptor> customPostCommandInterceptorsTxRequiresNew) setCustomPostDeployers(List<Deployer> customPostDeployers) voidsetCustomPostMigratingActivityInstanceValidators(List<MigratingActivityInstanceValidator> customPostMigratingActivityInstanceValidators) voidsetCustomPostMigrationActivityValidators(List<MigrationActivityValidator> customPostMigrationActivityValidators) voidsetCustomPostMigrationInstructionValidators(List<MigrationInstructionValidator> customPostMigrationInstructionValidators) setCustomPostVariableSerializers(List<TypedValueSerializer> customPostVariableTypes) voidsetCustomPreBPMNParseListeners(List<BpmnParseListener> preParseListeners) voidsetCustomPreCmmnTransformListeners(List<CmmnTransformListener> customPreCmmnTransformListeners) setCustomPreCommandInterceptorsTxRequired(List<CommandInterceptor> customPreCommandInterceptorsTxRequired) setCustomPreCommandInterceptorsTxRequiresNew(List<CommandInterceptor> customPreCommandInterceptorsTxRequiresNew) setCustomPreDeployers(List<Deployer> customPreDeployers) voidsetCustomPreMigratingActivityInstanceValidators(List<MigratingActivityInstanceValidator> customPreMigratingActivityInstanceValidators) voidsetCustomPreMigrationActivityValidators(List<MigrationActivityValidator> customPreMigrationActivityValidators) voidsetCustomPreMigrationInstructionValidators(List<MigrationInstructionValidator> customPreMigrationInstructionValidators) setCustomPreVariableSerializers(List<TypedValueSerializer> customPreVariableTypes) setCustomRejectedJobsHandler(RejectedJobsHandler customRejectedJobsHandler) setCustomSessionFactories(List<SessionFactory> customSessionFactories) voidsetDatabaseSchema(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) voidsetDbHistoryUsed(boolean isDbHistoryUsed) voidsetDbIdentityUsed(boolean isDbIdentityUsed) setDbMetricsReporter(DbMetricsReporter dbMetricsReporter) setDbMetricsReporterActivate(boolean isDbMetricsReporterEnabled) setDbSqlSessionFactory(DbSqlSessionFactory dbSqlSessionFactory) voidsetDecisionService(DecisionService decisionService) setDefaultCharset(Charset defautlCharset) setDefaultCharsetName(String defaultCharsetName) setDefaultSerializationFormat(String defaultSerializationFormat) setDefaultUserPermissionForTask(Permission defaultUserPermissionForTask) setDelegateInterceptor(DelegateInterceptor delegateInterceptor) setDeployers(List<Deployer> deployers) voidsetDeploymentCache(DeploymentCache deploymentCache) setDeploymentHandlerFactory(DeploymentHandlerFactory deploymentHandlerFactory) voidsetDeploymentLockUsed(boolean isDeploymentLockUsed) If set to true, the process engine will acquire an exclusive lock when creating a deployment.voidsetDeploymentSynchronized(boolean deploymentSynchronized) Sets if deployment processing must be synchronized.voidsetDiagnosticsCollector(DiagnosticsCollector diagnosticsCollector) setDiagnosticsRegistry(DiagnosticsRegistry diagnosticsRegistry) voidsetDisableBuiltinExceptionCodeProvider(boolean disableBuiltinExceptionCodeProvider) Setter to disables the default implementation ofExceptionCodeProviderwhich allows overriding the reserved exception codes >ExceptionCodeInterceptor.MAX_CUSTOM_CODEor <ExceptionCodeInterceptor.MIN_CUSTOM_CODE.voidsetDisableExceptionCode(boolean disableExceptionCode) Setter to disables theExceptionCodeInterceptorand therefore the whole exception code feature.voidsetDisableStrictCallActivityValidation(boolean disableStrictCallActivityValidation) setDisableStrictCamundaFormParsing(boolean disableStrictCamundaFormParsing) setDmnElProvider(ElProvider elProvider) voidsetDmnEnabled(boolean dmnEnabled) voidsetDmnEngine(DmnEngine dmnEngine) voidsetDmnEngineConfiguration(DefaultDmnEngineConfiguration dmnEngineConfiguration) setDmnFeelCustomFunctionProviders(List<FeelCustomFunctionProvider> dmnFeelCustomFunctionProviders) setDmnFeelEnableLegacyBehavior(boolean dmnFeelEnableLegacyBehavior) setDmnHistoryEventProducer(DmnHistoryEventProducer dmnHistoryEventProducer) setDmnReturnBlankTableOutputAsNull(boolean dmnReturnBlankTableOutputAsNull) voidsetEnableDefaultDbHistoryEventHandler(boolean enableDefaultDbHistoryEventHandler) voidsetEnableExpressionsInAdhocQueries(boolean enableExpressionsInAdhocQueries) voidsetEnableExpressionsInStoredQueries(boolean enableExpressionsInStoredQueries) voidsetEnableFetchProcessDefinitionDescription(boolean enableFetchProcessDefinitionDescription) setEnableFetchScriptEngineFromProcessApplication(boolean enable) voidsetEnableGracefulDegradationOnContextSwitchFailure(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) voidsetEnableScriptCompilation(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) voidsetEnableXxeProcessing(boolean enableXxeProcessing) setEnforceHistoryTimeToLive(boolean enforceHistoryTimeToLive) voidsetEnvScriptResolvers(List<ScriptEnvResolver> scriptEnvResolvers) voidsetEventHandlers(Map<String, EventHandler> eventHandlers) voidsetExecutionTreePrefetchEnabled(boolean isExecutionTreePrefetchingEnabled) setExpressionManager(ExpressionManager expressionManager) voidsetExternalTaskPriorityProvider(PriorityProvider<ExternalTaskActivityBehavior> externalTaskPriorityProvider) voidsetExternalTaskService(ExternalTaskService externalTaskService) setFailedJobCommandFactory(FailedJobCommandFactory failedJobCommandFactory) voidsetFailedJobListenerMaxRetries(int failedJobListenerMaxRetries) voidsetFailedJobRetryTimeCycle(String failedJobRetryTimeCycle) voidsetFallbackSerializerFactory(VariableSerializerFactory fallbackSerializerFactory) voidsetFilterService(FilterService filterService) setForceCloseMybatisConnectionPool(boolean forceCloseMybatisConnectionPool) setFormEngines(Map<String, FormEngine> formEngines) setFormService(FormService formService) setFormTypes(FormTypes formTypes) voidsetFormValidators(FormValidators formValidators) voidsetFridayHistoryCleanupBatchWindowEndTime(String fridayHistoryCleanupBatchWindowEndTime) voidsetFridayHistoryCleanupBatchWindowStartTime(String fridayHistoryCleanupBatchWindowStartTime) setHistory(String history) voidsetHistoryCleanupBatchSize(int historyCleanupBatchSize) voidsetHistoryCleanupBatchThreshold(int historyCleanupBatchThreshold) voidsetHistoryCleanupBatchWindowEndTime(String historyCleanupBatchWindowEndTime) voidsetHistoryCleanupBatchWindowEndTimeAsDate(Date historyCleanupBatchWindowEndTimeAsDate) voidsetHistoryCleanupBatchWindows(Map<Integer, BatchWindowConfiguration> historyCleanupBatchWindows) voidsetHistoryCleanupBatchWindowStartTime(String historyCleanupBatchWindowStartTime) voidsetHistoryCleanupBatchWindowStartTimeAsDate(Date historyCleanupBatchWindowStartTimeAsDate) setHistoryCleanupDefaultNumberOfRetries(int historyCleanupDefaultNumberOfRetries) voidsetHistoryCleanupDegreeOfParallelism(int historyCleanupDegreeOfParallelism) setHistoryCleanupEnabled(boolean historyCleanupEnabled) setHistoryCleanupJobLogTimeToLive(String historyCleanupJobLogTimeToLive) setHistoryCleanupJobPriority(long historyCleanupJobPriority) voidsetHistoryCleanupMetricsEnabled(boolean historyCleanupMetricsEnabled) setHistoryCleanupStrategy(String historyCleanupStrategy) setHistoryEventHandler(HistoryEventHandler historyEventHandler) setHistoryEventProducer(HistoryEventProducer historyEventProducer) voidsetHistoryLevel(HistoryLevel historyLevel) setHistoryRemovalTimeProvider(HistoryRemovalTimeProvider removalTimeProvider) setHistoryRemovalTimeStrategy(String removalTimeStrategy) setHistoryService(HistoryService historyService) voidsetHistoryTimeToLive(String historyTimeToLive) setHostname(String hostname) setHostnameProvider(HostnameProvider hostnameProvider) setIdBlockSize(int idBlockSize) voidsetIdentityProviderSessionFactory(SessionFactory identityProviderSessionFactory) setIdentityService(IdentityService identityService) setIdGenerator(IdGenerator idGenerator) voidsetIdGeneratorDataSource(DataSource idGeneratorDataSource) voidsetIdGeneratorDataSourceJndiName(String idGeneratorDataSourceJndiName) voidsetImplicitVariableUpdateDetectionEnabled(boolean newValue) voidsetIncidentHandlers(Map<String, IncidentHandler> incidentHandlers) voidsetInvocationsPerBatchJob(int invocationsPerBatchJob) setInvocationsPerBatchJobByBatchType(Map<String, Integer> invocationsPerBatchJobByBatchType) setInvokeCustomVariableListeners(boolean isInvokeCustomVariableListeners) voidsetJavaSerializationFormatEnabled(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) setJobExecutorAcquireExclusiveOverProcessHierarchies(boolean jobExecutorAcquireExclusiveOverProcessHierarchies) setJobExecutorActivate(boolean jobExecutorActivate) setJobExecutorPriorityRangeMax(long jobExecutorPriorityRangeMax) setJobExecutorPriorityRangeMin(long jobExecutorPriorityRangeMin) setJobHandlers(Map<String, JobHandler> jobHandlers) voidsetJobPriorityProvider(PriorityProvider<JobDeclaration<?, ?>> jobPriorityProvider) setLegacyJobRetryBehaviorEnabled(boolean legacyJobRetryBehaviorEnabled) setLogEntriesPerSyncOperationLimit(long logEntriesPerSyncOperationLimit) 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) voidsetLoginDelayBase(int loginInitialDelay) voidsetLoginDelayFactor(int loginDelayFactor) voidsetLoginDelayMaxTime(int loginDelayMaxTime) voidsetLoginMaxAttempts(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.voidsetMigratingActivityInstanceValidators(List<MigratingActivityInstanceValidator> migratingActivityInstanceValidators) voidsetMigrationActivityMatcher(MigrationActivityMatcher migrationActivityMatcher) voidsetMigrationInstructionGenerator(MigrationInstructionGenerator migrationInstructionGenerator) voidsetMigrationInstructionValidators(List<MigrationInstructionValidator> migrationInstructionValidators) voidsetMondayHistoryCleanupBatchWindowEndTime(String mondayHistoryCleanupBatchWindowEndTime) voidsetMondayHistoryCleanupBatchWindowStartTime(String mondayHistoryCleanupBatchWindowStartTime) voidsetParsedBatchOperationsForHistoryCleanup(Map<String, Integer> parsedBatchOperationsForHistoryCleanup) setParsedTaskMetricsTimeToLive(Integer parsedTaskMetricsTimeToLive) voidsetPasswordEncryptor(PasswordEncryptor passwordEncryptor) voidsetPasswordManager(PasswordManager passwordManager) voidsetPermissionProvider(PermissionProvider permissionProvider) voidsetPostParseListeners(List<BpmnParseListener> postParseListeners) voidsetPreParseListeners(List<BpmnParseListener> preParseListeners) voidsetProcessApplicationManager(ProcessApplicationManager processApplicationManager) setProcessEngineName(String processEngineName) voidsetProcessEnginePlugins(List<ProcessEnginePlugin> processEnginePlugins) setQueryMaxResultsLimit(int queryMaxResultsLimit) setReevaluateTimeCycleWhenDue(boolean reevaluateTimeCycleWhenDue) voidsetRegisteredDeployments(Set<String> registeredDeployments) setRemovalTimeUpdateChunkSize(int removalTimeUpdateChunkSize) setRepositoryService(RepositoryService repositoryService) voidsetResolverFactories(List<ResolverFactory> resolverFactories) voidsetResourceAuthorizationProvider(ResourceAuthorizationProvider resourceAuthorizationProvider) setRestrictUserOperationLogToAuthenticatedUsers(boolean restrictUserOperationLogToAuthenticatedUsers) setRuntimeService(RuntimeService runtimeService) voidsetSaltGenerator(SaltGenerator saltGenerator) voidsetSaturdayHistoryCleanupBatchWindowEndTime(String saturdayHistoryCleanupBatchWindowEndTime) voidsetSaturdayHistoryCleanupBatchWindowStartTime(String saturdayHistoryCleanupBatchWindowStartTime) setScriptEngineNameJavaScript(String scriptEngineNameJavaScript) setScriptEngineResolver(ScriptEngineResolver scriptEngineResolver) voidsetScriptFactory(ScriptFactory scriptFactory) setScriptingEngines(ScriptingEngines scriptingEngines) voidsetScriptingEnvironment(ScriptingEnvironment scriptingEnvironment) setSessionFactories(Map<Class<?>, SessionFactory> sessionFactories) setSkipIsolationLevelCheck(boolean skipIsolationLevelCheck) setSqlSessionFactory(org.apache.ibatis.session.SqlSessionFactory sqlSessionFactory) setStandaloneTasksEnabled(boolean standaloneTasksEnabled) voidsetSundayHistoryCleanupBatchWindowEndTime(String sundayHistoryCleanupBatchWindowEndTime) voidsetSundayHistoryCleanupBatchWindowStartTime(String sundayHistoryCleanupBatchWindowStartTime) setTaskMetricsEnabled(boolean isTaskMetricsEnabled) setTaskMetricsTimeToLive(String taskMetricsTimeToLive) setTaskService(TaskService taskService) setTelemetryData(TelemetryDataImpl telemetryData) setTenantIdProvider(TenantIdProvider tenantIdProvider) voidsetThursdayHistoryCleanupBatchWindowEndTime(String thursdayHistoryCleanupBatchWindowEndTime) voidsetThursdayHistoryCleanupBatchWindowStartTime(String thursdayHistoryCleanupBatchWindowStartTime) setTransactionContextFactory(TransactionContextFactory transactionContextFactory) setTransactionFactory(org.apache.ibatis.transaction.TransactionFactory transactionFactory) setTransactionsExternallyManaged(boolean transactionsExternallyManaged) voidsetTuesdayHistoryCleanupBatchWindowEndTime(String tuesdayHistoryCleanupBatchWindowEndTime) voidsetTuesdayHistoryCleanupBatchWindowStartTime(String tuesdayHistoryCleanupBatchWindowStartTime) setUseSharedSqlSessionFactory(boolean isUseSharedSqlSessionFactory) setVariableTypes(VariableSerializers variableSerializers) voidsetWebappsAuthenticationLoggingEnabled(boolean webappsAuthenticationLoggingEnabled) voidsetWednesdayHistoryCleanupBatchWindowEndTime(String wednesdayHistoryCleanupBatchWindowEndTime) voidsetWednesdayHistoryCleanupBatchWindowStartTime(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, 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, 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 -
ISOLATION_LEVEL_CONSTANT_NAMES
-
repositoryService
-
runtimeService
-
historyService
-
identityService
-
taskService
-
formService
-
managementService
-
authorizationService
-
caseService
-
filterService
-
externalTaskService
-
decisionService
-
optimizeService
-
customPreCommandInterceptorsTxRequired
the configurable list which will beprocessedto build thecommandExecutorTxRequired -
customPostCommandInterceptorsTxRequired
-
commandInterceptorsTxRequired
-
commandExecutorTxRequired
this will be initialized during the configurationComplete() -
customPreCommandInterceptorsTxRequiresNew
the configurable list which will beprocessedto 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 -
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 -
jobExecutorAcquireExclusiveOverProcessHierarchies
protected boolean jobExecutorAcquireExclusiveOverProcessHierarchiesWhen set to false, exclusivity (no parallel execution) of tasks is applied per process instance. When set to true, exclusivity (no parallel execution) of tasks is extended across all hierarchies of each given process instance.The feature is targeting processes which might spawn a hierarchy of subprocesses e.g. via a call activity. The legacy behaviour does not guarantee sequential execution of any spawned subprocesses. Instead, it works only at the root level. When the feature is enabled, any spawned subprocess of the root process will be acquired and executed sequentially by one thread.
Note that the above configuration might introduce performance implications in complex process modelling that involves high multi-instance multiplicity and numerous subprocesses.
Use the feature in combination with awareness of your process modeling.
Default value: false; to keep the legacy behaviour backwards compatible.
-
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 -
skipIsolationLevelCheck
protected boolean skipIsolationLevelCheck -
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
CaseDefinitionto 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
DecisionDefinitionorDecisionRequirementsDefinitionto 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 ofCompositeHistoryEventHandlerit contains all the provided history event handlers that process history events. -
customHistoryEventHandlers
Allows users to add additionalHistoryEventHandlerinstances to process history events. -
enableDefaultDbHistoryEventHandler
protected boolean enableDefaultDbHistoryEventHandlerIf true, the defaultDbHistoryEventHandlerwill be included in the list of history event handlers. -
permissionProvider
-
isExecutionTreePrefetchEnabled
protected boolean isExecutionTreePrefetchEnabled -
isCompositeIncidentHandlersEnabled
protected boolean isCompositeIncidentHandlersEnabledIf true, the incident handlers init asCompositeIncidentHandlerand multiple incident handlers can be added for the same Incident type. However, only the result from the "main" incident handler will be returned.All
customIncidentHandlerswill be added as sub handlers toCompositeIncidentHandlerfor same handler type.By default, main handler is
DefaultIncidentHandler. To override the main handler you need createCompositeIncidentHandlerwith your main IncidentHandler and initincidentHandlersbefore 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. -
logEntriesPerSyncOperationLimit
protected long logEntriesPerSyncOperationLimitMaximum number of operation log entries written per synchronous operation. APIs that can affect multiple entities can produce an operation log entry each. This property controls how the operation logs are handled. Possible values:- 1 (Default): Always write one summary operation log including message name, number of affected entities, number of variables set by operation, and async=false
- -1: Disable limiting of operation logs for synchronous APIs. Write one log entry per affected entity. Caution: This may impact performance with large data.
- 1<x<=Long.MAX_VALUE: Write at most x operation logs per synchronous operation. If an operation exceeds x, a
ProcessEngineExceptionis thrown.
-
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 globaldefaultNumberOfRetriesproperty 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 -
diagnosticsCollector
-
telemetryData
-
diagnosticsRegistry
-
disableExceptionCode
protected boolean disableExceptionCodeDisables theExceptionCodeInterceptorand therefore the whole exception code feature. -
disableBuiltinExceptionCodeProvider
protected boolean disableBuiltinExceptionCodeProviderDisables the default implementation ofExceptionCodeProviderwhich allows overriding the reserved exception codes >ExceptionCodeInterceptor.MAX_CUSTOM_CODEor <ExceptionCodeInterceptor.MIN_CUSTOM_CODE. -
customExceptionCodeProvider
Allows registering a custom implementation of aExceptionCodeProviderallowing 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_SIZEmust be respected. -
legacyJobRetryBehaviorEnabled
protected boolean legacyJobRetryBehaviorEnabledThis legacy behavior sets the retry counter to 3 in the context when running a the job for the first time. This has been patched up to fetch the correct counter value. -
databaseTypeMappings
-
MY_SQL_PRODUCT_NAME
- See Also:
-
MARIA_DB_PRODUCT_NAME
- See Also:
-
POSTGRES_DB_PRODUCT_NAME
- See Also:
-
-
Constructor Details
-
ProcessEngineConfigurationImpl
public ProcessEngineConfigurationImpl()
-
-
Method Details
-
isDisableExceptionCode
public boolean isDisableExceptionCode()- Returns:
trueif the exception code feature is disabled and vice-versa.
-
setDisableExceptionCode
public void setDisableExceptionCode(boolean disableExceptionCode) Setter to disables theExceptionCodeInterceptorand therefore the whole exception code feature. -
isDisableBuiltinExceptionCodeProvider
public boolean isDisableBuiltinExceptionCodeProvider()- Returns:
trueif the built-in exception code provider is disabled and vice-versa.
-
setDisableBuiltinExceptionCodeProvider
public void setDisableBuiltinExceptionCodeProvider(boolean disableBuiltinExceptionCodeProvider) Setter to disables the default implementation ofExceptionCodeProviderwhich allows overriding the reserved exception codes >ExceptionCodeInterceptor.MAX_CUSTOM_CODEor <ExceptionCodeInterceptor.MIN_CUSTOM_CODE. -
getCustomExceptionCodeProvider
- Returns:
- a custom implementation of a
ExceptionCodeProviderallowing to provide custom error codes.
-
setCustomExceptionCodeProvider
Setter to register a custom implementation of aExceptionCodeProviderallowing to provide custom error codes. -
getBuiltinExceptionCodeProvider
-
setBuiltinExceptionCodeProvider
-
buildProcessEngine
- Specified by:
buildProcessEnginein 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() -
checkTransactionIsolationLevel
protected void checkTransactionIsolationLevel() -
getCurrentTransactionIsolationLevel
-
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. -
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() -
initOperationLog
protected void initOperationLog() -
initCacheFactory
protected void initCacheFactory() -
initResourceAuthorizationProvider
protected void initResourceAuthorizationProvider() -
initPermissionProvider
protected void initPermissionProvider() -
initDefaultUserPermissionForTask
protected void initDefaultUserPermissionForTask() -
initAdminUser
protected void initAdminUser() -
initAdminGroups
protected void initAdminGroups() -
initDiagnostics
protected void initDiagnostics() -
initTelemetryData
protected void initTelemetryData() -
getProcessEngineName
- Overrides:
getProcessEngineNamein classProcessEngineConfiguration
-
getHistoryLevel
-
setHistoryLevel
-
getDefaultHistoryLevel
-
setProcessEngineName
- Overrides:
setProcessEngineNamein 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
-
getSkipIsolationLevelCheck
public boolean getSkipIsolationLevelCheck() -
setSkipIsolationLevelCheck
-
setClassLoader
- Overrides:
setClassLoaderin classProcessEngineConfiguration
-
setDatabaseType
- Overrides:
setDatabaseTypein classProcessEngineConfiguration
-
setDataSource
- Overrides:
setDataSourcein classProcessEngineConfiguration
-
setDatabaseSchemaUpdate
- Overrides:
setDatabaseSchemaUpdatein classProcessEngineConfiguration
-
setHistory
- Overrides:
setHistoryin classProcessEngineConfiguration
-
setIdBlockSize
- Overrides:
setIdBlockSizein classProcessEngineConfiguration
-
setJdbcDriver
- Overrides:
setJdbcDriverin classProcessEngineConfiguration
-
setJdbcPassword
- Overrides:
setJdbcPasswordin classProcessEngineConfiguration
-
setJdbcUrl
- Overrides:
setJdbcUrlin classProcessEngineConfiguration
-
setJdbcUsername
- Overrides:
setJdbcUsernamein classProcessEngineConfiguration
-
setJobExecutorActivate
- Overrides:
setJobExecutorActivatein classProcessEngineConfiguration
-
setMailServerDefaultFrom
- Overrides:
setMailServerDefaultFromin classProcessEngineConfiguration
-
setMailServerHost
- Overrides:
setMailServerHostin classProcessEngineConfiguration
-
setMailServerPassword
- Overrides:
setMailServerPasswordin classProcessEngineConfiguration
-
setMailServerPort
- Overrides:
setMailServerPortin classProcessEngineConfiguration
-
setMailServerUseTLS
- Overrides:
setMailServerUseTLSin classProcessEngineConfiguration
-
setMailServerUsername
- Overrides:
setMailServerUsernamein classProcessEngineConfiguration
-
setJdbcMaxActiveConnections
- Overrides:
setJdbcMaxActiveConnectionsin classProcessEngineConfiguration
-
setJdbcMaxCheckoutTime
- Overrides:
setJdbcMaxCheckoutTimein classProcessEngineConfiguration
-
setJdbcMaxIdleConnections
- Overrides:
setJdbcMaxIdleConnectionsin classProcessEngineConfiguration
-
setJdbcMaxWaitTime
- Overrides:
setJdbcMaxWaitTimein classProcessEngineConfiguration
-
setTransactionsExternallyManaged
public ProcessEngineConfigurationImpl setTransactionsExternallyManaged(boolean transactionsExternallyManaged) - Overrides:
setTransactionsExternallyManagedin classProcessEngineConfiguration
-
setJdbcPingEnabled
- Overrides:
setJdbcPingEnabledin classProcessEngineConfiguration
-
setJdbcPingQuery
- Overrides:
setJdbcPingQueryin classProcessEngineConfiguration
-
setJdbcPingConnectionNotUsedFor
- Overrides:
setJdbcPingConnectionNotUsedForin 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_'.
NOTE: the prefix is not respected by automatic database schema management. If you useProcessEngineConfiguration.DB_SCHEMA_UPDATE_CREATE_DROPorProcessEngineConfiguration.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-truewhen deployment must be synchronized,falsewhen 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) -
getLogEntriesPerSyncOperationLimit
public long getLogEntriesPerSyncOperationLimit() -
setLogEntriesPerSyncOperationLimit
public ProcessEngineConfigurationImpl setLogEntriesPerSyncOperationLimit(long logEntriesPerSyncOperationLimit) -
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 returnstrueonly if bothhistoryCleanupMetricsEnabledandisMetricsEnabledare true- Returns:
trueif both history cleanup metrics and general metrics are enabled,falseotherwise.
-
setHistoryCleanupMetricsEnabled
public void setHistoryCleanupMetricsEnabled(boolean historyCleanupMetricsEnabled) -
isHistoryCleanupEnabled
public boolean isHistoryCleanupEnabled() -
setHistoryCleanupEnabled
-
getHistoryTimeToLive
-
setHistoryTimeToLive
-
isEnforceHistoryTimeToLive
public boolean isEnforceHistoryTimeToLive() -
setEnforceHistoryTimeToLive
-
setJobExecutorAcquireExclusiveOverProcessHierarchies
public ProcessEngineConfigurationImpl setJobExecutorAcquireExclusiveOverProcessHierarchies(boolean jobExecutorAcquireExclusiveOverProcessHierarchies) -
isJobExecutorAcquireExclusiveOverProcessHierarchies
public boolean isJobExecutorAcquireExclusiveOverProcessHierarchies() -
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) -
getDiagnosticsCollector
-
setDiagnosticsCollector
-
getTelemetryData
-
setTelemetryData
-
isReevaluateTimeCycleWhenDue
public boolean isReevaluateTimeCycleWhenDue() -
setReevaluateTimeCycleWhenDue
public ProcessEngineConfigurationImpl setReevaluateTimeCycleWhenDue(boolean reevaluateTimeCycleWhenDue) -
getRemovalTimeUpdateChunkSize
public int getRemovalTimeUpdateChunkSize() -
setRemovalTimeUpdateChunkSize
-
getExceptionCodeInterceptor
- Returns:
- a exception code interceptor. The interceptor is not registered in case
disableExceptionCodeis configured totrue.
-
getDiagnosticsRegistry
-
setDiagnosticsRegistry
-
isLegacyJobRetryBehaviorEnabled
public boolean isLegacyJobRetryBehaviorEnabled() -
setLegacyJobRetryBehaviorEnabled
public ProcessEngineConfiguration setLegacyJobRetryBehaviorEnabled(boolean legacyJobRetryBehaviorEnabled)
-
getHostnameProvider()instead.