Interface CmmnHistoryConfigurationSettings
- All Known Implementing Classes:
DefaultCmmnHistoryConfigurationSettings
public interface CmmnHistoryConfigurationSettings
- Author:
- Joram Barrez
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns whether history is enabled on the case engine configuration.boolean
isHistoryEnabled
(String caseDefinitionId) Returns whether any history should be stored for the given case definition (i.e.boolean
isHistoryEnabledForCaseInstance
(CaseInstanceEntity caseInstanceEntity) Returns whether history is enabled for the provided case instance.boolean
isHistoryEnabledForEntityLink
(EntityLinkEntity entityLink) Returns whether history is enabled for the provided entity link.boolean
isHistoryEnabledForIdentityLink
(IdentityLinkEntity identityLinkEntity) Returns whether history is enabled for the provided identity link.boolean
isHistoryEnabledForMilestone
(MilestoneInstanceEntity milestoneInstanceEntity) Returns whether history is enabled for the provided activity.boolean
isHistoryEnabledForPlanItemInstance
(PlanItemInstanceEntity planItemInstanceEntity) Returns whether history is enabled for the provided plan item instance.boolean
isHistoryEnabledForUserTask
(TaskInfo taskInfo) Returns whether history is enabled for the provided user task.boolean
isHistoryEnabledForVariableInstance
(VariableInstanceEntity variableInstanceEntity) Returns whether history is enabled for the provided variable instance.boolean
isHistoryEnabledForVariables
(HistoricTaskInstance historicTaskInstance) Returns whether variable history is enabled for the provided historic task instance.boolean
isHistoryLevelAtLeast
(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.
-