Class DefaultProcessEngineSettings
java.lang.Object
com.aquima.interactions.process.impl.DefaultProcessEngineSettings
- All Implemented Interfaces:
IIgnoreModeSettings
,IProcessEngineSettings
Class that provides a backwards compatible implementation of
IProcessEngineSettings
- Since:
- 9.2
- Author:
- m.mahabiersing
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
If true, all started tasks will be cancelled during the process engine initializationReturns the limit on the number of results that will be retrieved from the database for the AQ_CaseListgetIgnoreMode
(ApplicationID appId) Always returnsIgnoreMode.DEFAULT
.getIgnoreMode
(String applicationName) Always returnsIgnoreMode.DEFAULT
.Returns the limit on the number of results that will be retrieved from the database for the AQ_WorkListboolean
ignoreUnknownAttributes
(String applicationName) Returns whether attributes which are saved in the process data store and do not exist in the metamodel should be ignored.boolean
ignoreUnknownEntities
(String applicationName) Returns whether entities which are saved in the process data store and do not exist in the metamodel should be ignored.boolean
Indicates whether required tasks should be cancelled when their precondition evaluates becomes false.
-
Constructor Details
-
DefaultProcessEngineSettings
public DefaultProcessEngineSettings()
-
-
Method Details
-
cancelStartedTasks
public boolean cancelStartedTasks()Description copied from interface:IProcessEngineSettings
If true, all started tasks will be cancelled during the process engine initialization- Specified by:
cancelStartedTasks
in interfaceIProcessEngineSettings
- Returns:
- whether all started tasks will be cancelled
-
shouldRetainRequiredTasks
public boolean shouldRetainRequiredTasks()Description copied from interface:IProcessEngineSettings
Indicates whether required tasks should be cancelled when their precondition evaluates becomes false.- Specified by:
shouldRetainRequiredTasks
in interfaceIProcessEngineSettings
- Returns:
- true if required tasks should be cancelled once the precondition becomes false, false otherwise
-
getWorkListLimit
Description copied from interface:IProcessEngineSettings
Returns the limit on the number of results that will be retrieved from the database for the AQ_WorkList- Specified by:
getWorkListLimit
in interfaceIProcessEngineSettings
- Returns:
- The limit, may be null
-
getCaseListLimit
Description copied from interface:IProcessEngineSettings
Returns the limit on the number of results that will be retrieved from the database for the AQ_CaseList- Specified by:
getCaseListLimit
in interfaceIProcessEngineSettings
- Returns:
- The limit, may be null
-
getIgnoreMode
Always returnsIgnoreMode.DEFAULT
. This implementation doesn't assign any specific behaviour for the default setting.- Specified by:
getIgnoreMode
in interfaceIIgnoreModeSettings
- Parameters:
appId
- the application ID for which the ignore mode is desired- Returns:
- the ignore mode for the specified application
-
getIgnoreMode
Always returnsIgnoreMode.DEFAULT
. This implementation doesn't assign any specific behaviour for the default setting.- Specified by:
getIgnoreMode
in interfaceIIgnoreModeSettings
- Parameters:
applicationName
- the application name for which the ignore mode is desired- Returns:
- the ignore mode for the specified application
-
ignoreUnknownAttributes
Description copied from interface:IProcessEngineSettings
Returns whether attributes which are saved in the process data store and do not exist in the metamodel should be ignored.- Specified by:
ignoreUnknownAttributes
in interfaceIProcessEngineSettings
- Parameters:
applicationName
- the name of the application for which the setting is requested- Returns:
- true if unknown attributes should be ignored, false otherwise.
-
ignoreUnknownEntities
Description copied from interface:IProcessEngineSettings
Returns whether entities which are saved in the process data store and do not exist in the metamodel should be ignored.- Specified by:
ignoreUnknownEntities
in interfaceIProcessEngineSettings
- Parameters:
applicationName
- the name of the application for which the setting is requested- Returns:
- true if unknown entities should be ignored, false otherwise.
-