Package org.flowable.engine.impl.history
Interface HistoryConfigurationSettings
-
- All Known Implementing Classes:
DefaultHistoryConfigurationSettings
public interface HistoryConfigurationSettings- Author:
- Joram Barrez
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisHistoryEnabled()Returns whether history is enabled on the process engine configuration.booleanisHistoryEnabled(String processDefinitionId)Returns whether any history should be stored for the given process definition (i.e.booleanisHistoryEnabledForActivity(String processDefinitionId, String activityId)Returns whether history is enabled for the provided activity.booleanisHistoryEnabledForActivity(ActivityInstance activityInstance)Returns whether history is enabled for the provided activity.booleanisHistoryEnabledForEntityLink(EntityLinkEntity entityLink)Returns whether history is enabled for the provided entity link.booleanisHistoryEnabledForIdentityLink(IdentityLinkEntity identityLink)Returns whether history is enabled for the provided identity link.booleanisHistoryEnabledForProcessInstance(ExecutionEntity processInstanceExecution)Returns whether history is enabled for the provided process instance.booleanisHistoryEnabledForUserTask(ExecutionEntity executionEntity, TaskEntity taskEntity)Returns whether history is enabled for the provided user task.booleanisHistoryEnabledForUserTask(org.flowable.task.api.TaskInfo taskInfo)Returns whether history is enabled for the provided user task.booleanisHistoryEnabledForVariableInstance(String processDefinitionId, VariableInstanceEntity variableInstanceEntity)Returns whether history is enabled for the provided variable instance.booleanisHistoryEnabledForVariableInstance(VariableInstanceEntity variableInstanceEntity)Returns whether history is enabled for the provided variable instance.booleanisHistoryLevelAtLeast(HistoryLevel level, String processDefinitionId)Returns whether the history level is at least the given level.
-
-
-
Method Detail
-
isHistoryEnabled
boolean isHistoryEnabled()
Returns whether history is enabled on the process engine configuration.
-
isHistoryEnabled
boolean isHistoryEnabled(String processDefinitionId)
Returns whether any history should be stored for the given process definition (i.e. the history level is different fromHistoryLevel.NONE.
-
isHistoryLevelAtLeast
boolean isHistoryLevelAtLeast(HistoryLevel level, String processDefinitionId)
Returns whether the history level is at least the given level. If process definitions have more specific settings the level will be checked against that before checking the engine configuration.
-
isHistoryEnabledForProcessInstance
boolean isHistoryEnabledForProcessInstance(ExecutionEntity processInstanceExecution)
Returns whether history is enabled for the provided process instance.
-
isHistoryEnabledForActivity
boolean isHistoryEnabledForActivity(ActivityInstance activityInstance)
Returns whether history is enabled for the provided activity.
-
isHistoryEnabledForActivity
boolean isHistoryEnabledForActivity(String processDefinitionId, String activityId)
Returns whether history is enabled for the provided activity. This method has an extra activityInstance parameter, for legacy reasons and should only be used in those exceptional situations.
-
isHistoryEnabledForUserTask
boolean isHistoryEnabledForUserTask(org.flowable.task.api.TaskInfo taskInfo)
Returns whether history is enabled for the provided user task.
-
isHistoryEnabledForUserTask
boolean isHistoryEnabledForUserTask(ExecutionEntity executionEntity, TaskEntity taskEntity)
Returns whether history is enabled for the provided user task. This method has an extra executionEntity parameter, for legacy reasons and should only be used in those exceptional situations.
-
isHistoryEnabledForVariableInstance
boolean isHistoryEnabledForVariableInstance(VariableInstanceEntity variableInstanceEntity)
Returns whether history is enabled for the provided variable instance.
-
isHistoryEnabledForVariableInstance
boolean isHistoryEnabledForVariableInstance(String processDefinitionId, VariableInstanceEntity variableInstanceEntity)
Returns whether history is enabled for the provided variable instance. This method has an extra processDefinitionId parameter, for legacy reasons and should only be used in those exceptional situations.
-
isHistoryEnabledForIdentityLink
boolean isHistoryEnabledForIdentityLink(IdentityLinkEntity identityLink)
Returns whether history is enabled for the provided identity link.
-
isHistoryEnabledForEntityLink
boolean isHistoryEnabledForEntityLink(EntityLinkEntity entityLink)
Returns whether history is enabled for the provided entity link.
-
-