Interface CmmnHistoryConfigurationSettings
- All Known Implementing Classes:
DefaultCmmnHistoryConfigurationSettings
public interface CmmnHistoryConfigurationSettings
- Author:
- Joram Barrez
-
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether history is enabled on the case engine configuration.booleanisHistoryEnabled(String caseDefinitionId) Returns whether any history should be stored for the given case definition (i.e.booleanisHistoryEnabledForCaseInstance(CaseInstanceEntity caseInstanceEntity) Returns whether history is enabled for the provided case instance.booleanisHistoryEnabledForEntityLink(EntityLinkEntity entityLink) Returns whether history is enabled for the provided entity link.booleanisHistoryEnabledForIdentityLink(IdentityLinkEntity identityLinkEntity) Returns whether history is enabled for the provided identity link.booleanisHistoryEnabledForMilestone(MilestoneInstanceEntity milestoneInstanceEntity) Returns whether history is enabled for the provided activity.booleanisHistoryEnabledForPlanItemInstance(PlanItemInstanceEntity planItemInstanceEntity) Returns whether history is enabled for the provided plan item instance.booleanisHistoryEnabledForUserTask(TaskInfo taskInfo) Returns whether history is enabled for the provided user task.booleanisHistoryEnabledForVariableInstance(VariableInstanceEntity variableInstanceEntity) Returns whether history is enabled for the provided variable instance.booleanisHistoryEnabledForVariables(HistoricTaskInstance historicTaskInstance) Returns whether variable history is enabled for the provided historic task instance.booleanisHistoryLevelAtLeast(HistoryLevel level, String caseDefinitionId) Returns whether the history level is at least the given level.
-
Method Details
-
isHistoryEnabled
boolean isHistoryEnabled()Returns whether history is enabled on the case engine configuration. -
isHistoryEnabled
Returns whether any history should be stored for the given case definition (i.e. the history level is different fromHistoryLevel.NONE. -
isHistoryLevelAtLeast
Returns whether the history level is at least the given level. If case definitions have more specific settings the level will be checked against that before checking the engine configuration. -
isHistoryEnabledForCaseInstance
Returns whether history is enabled for the provided case instance. -
isHistoryEnabledForMilestone
Returns whether history is enabled for the provided activity. -
isHistoryEnabledForPlanItemInstance
Returns whether history is enabled for the provided plan item instance. -
isHistoryEnabledForUserTask
Returns whether history is enabled for the provided user task. -
isHistoryEnabledForVariableInstance
Returns whether history is enabled for the provided variable instance. -
isHistoryEnabledForIdentityLink
Returns whether history is enabled for the provided identity link. -
isHistoryEnabledForEntityLink
Returns whether history is enabled for the provided entity link. -
isHistoryEnabledForVariables
Returns whether variable history is enabled for the provided historic task instance.
-