Class DefaultCmmnHistoryConfigurationSettings
java.lang.Object
org.flowable.cmmn.engine.impl.history.DefaultCmmnHistoryConfigurationSettings
- All Implemented Interfaces:
CmmnHistoryConfigurationSettings
public class DefaultCmmnHistoryConfigurationSettings
extends Object
implements CmmnHistoryConfigurationSettings
- Author:
- Joram Barrez
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefaultCmmnHistoryConfigurationSettings(CmmnEngineConfiguration cmmnEngineConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionprotected HistoryLevelgetCaseDefinitionHistoryLevel(String caseDefinitionId) protected StringgetCaseDefinitionId(EntityLinkEntity entityLink) protected StringgetCaseDefinitionId(IdentityLinkEntity identityLink) protected booleanhasTaskHistoryLevel(HistoryLevel historyLevel) protected booleanincludePlanItemDefinitionInHistory(String caseDefinitionId, String activityId) protected booleanbooleanReturns 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.protected booleanisHistoryEnabledForActivity(String caseDefinitionId, String activityId) 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.
-
Field Details
-
cmmnEngineConfiguration
-
-
Constructor Details
-
DefaultCmmnHistoryConfigurationSettings
-
-
Method Details
-
isHistoryEnabled
public boolean isHistoryEnabled()Description copied from interface:CmmnHistoryConfigurationSettingsReturns whether history is enabled on the case engine configuration.- Specified by:
isHistoryEnabledin interfaceCmmnHistoryConfigurationSettings
-
isEnableCaseDefinitionHistoryLevel
protected boolean isEnableCaseDefinitionHistoryLevel() -
isHistoryEnabled
Description copied from interface:CmmnHistoryConfigurationSettingsReturns whether any history should be stored for the given case definition (i.e. the history level is different fromHistoryLevel.NONE.- Specified by:
isHistoryEnabledin interfaceCmmnHistoryConfigurationSettings
-
isHistoryLevelAtLeast
Description copied from interface:CmmnHistoryConfigurationSettingsReturns 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.- Specified by:
isHistoryLevelAtLeastin interfaceCmmnHistoryConfigurationSettings
-
isHistoryEnabledForCaseInstance
Description copied from interface:CmmnHistoryConfigurationSettingsReturns whether history is enabled for the provided case instance.- Specified by:
isHistoryEnabledForCaseInstancein interfaceCmmnHistoryConfigurationSettings
-
isHistoryEnabledForActivity
-
isHistoryEnabledForMilestone
Description copied from interface:CmmnHistoryConfigurationSettingsReturns whether history is enabled for the provided activity.- Specified by:
isHistoryEnabledForMilestonein interfaceCmmnHistoryConfigurationSettings
-
isHistoryEnabledForPlanItemInstance
Description copied from interface:CmmnHistoryConfigurationSettingsReturns whether history is enabled for the provided plan item instance.- Specified by:
isHistoryEnabledForPlanItemInstancein interfaceCmmnHistoryConfigurationSettings
-
isHistoryEnabledForUserTask
Description copied from interface:CmmnHistoryConfigurationSettingsReturns whether history is enabled for the provided user task.- Specified by:
isHistoryEnabledForUserTaskin interfaceCmmnHistoryConfigurationSettings
-
hasTaskHistoryLevel
-
isHistoryEnabledForVariableInstance
Description copied from interface:CmmnHistoryConfigurationSettingsReturns whether history is enabled for the provided variable instance.- Specified by:
isHistoryEnabledForVariableInstancein interfaceCmmnHistoryConfigurationSettings
-
isHistoryEnabledForIdentityLink
Description copied from interface:CmmnHistoryConfigurationSettingsReturns whether history is enabled for the provided identity link.- Specified by:
isHistoryEnabledForIdentityLinkin interfaceCmmnHistoryConfigurationSettings
-
getCaseDefinitionId
-
isHistoryEnabledForEntityLink
Description copied from interface:CmmnHistoryConfigurationSettingsReturns whether history is enabled for the provided entity link.- Specified by:
isHistoryEnabledForEntityLinkin interfaceCmmnHistoryConfigurationSettings
-
isHistoryEnabledForVariables
Description copied from interface:CmmnHistoryConfigurationSettingsReturns whether variable history is enabled for the provided historic task instance.- Specified by:
isHistoryEnabledForVariablesin interfaceCmmnHistoryConfigurationSettings
-
getCaseDefinitionId
-
getCaseDefinitionHistoryLevel
-
includePlanItemDefinitionInHistory
-