Class DefaultProcessEngineSettings
- java.lang.Object
-
- com.aquima.interactions.process.impl.DefaultProcessEngineSettings
-
- All Implemented Interfaces:
IIgnoreModeSettings
,IProcessEngineSettings
public class DefaultProcessEngineSettings extends Object implements IProcessEngineSettings
Class that provides a backwards compatible implementation ofIProcessEngineSettings
- Since:
- 9.2
- Author:
- m.mahabiersing
-
-
Constructor Summary
Constructors Constructor Description DefaultProcessEngineSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
cancelStartedTasks()
If true, all started tasks will be cancelled during the process engine initializationInteger
getCaseListLimit()
Returns the limit on the number of results that will be retrieved from the database for the AQ_CaseListIgnoreMode
getIgnoreMode(ApplicationID appId)
Always returnsIgnoreMode.DEFAULT
.IgnoreMode
getIgnoreMode(String applicationName)
Always returnsIgnoreMode.DEFAULT
.Integer
getWorkListLimit()
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
shouldRetainRequiredTasks()
Indicates whether required tasks should be cancelled when their precondition evaluates becomes false.
-
-
-
Method Detail
-
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:
-
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
public Integer 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
public Integer 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
public IgnoreMode getIgnoreMode(ApplicationID appId)
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
public IgnoreMode getIgnoreMode(String applicationName)
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
public boolean ignoreUnknownAttributes(String applicationName)
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
public boolean ignoreUnknownEntities(String applicationName)
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.
-
-