public class DefaultHistoryConfigurationSettings extends Object implements HistoryConfigurationSettings
| Modifier and Type | Field and Description |
|---|---|
protected ProcessEngineConfigurationImpl |
processEngineConfiguration |
| Constructor and Description |
|---|
DefaultHistoryConfigurationSettings(ProcessEngineConfigurationImpl processEngineConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
protected HistoryLevel |
getProcessDefinitionHistoryLevel(String processDefinitionId) |
protected String |
getProcessDefinitionId(EntityLinkEntity entityLink) |
protected String |
getProcessDefinitionId(IdentityLinkEntity identityLink) |
protected boolean |
hasTaskHistoryLevel(HistoryLevel historyLevel) |
protected boolean |
includeFlowElementInHistory(String processDefinitionId,
String activityId) |
protected boolean |
isEnableProcessDefinitionHistoryLevel() |
boolean |
isHistoryEnabled()
Returns whether history is enabled on the process engine configuration.
|
boolean |
isHistoryEnabled(String processDefinitionId)
Returns whether any history should be stored for the given process definition
(i.e.
|
boolean |
isHistoryEnabledForActivity(ActivityInstance activityInstance)
Returns whether history is enabled for the provided activity.
|
boolean |
isHistoryEnabledForActivity(String processDefinitionId,
String activityId)
Returns whether history is enabled for the provided activity.
|
boolean |
isHistoryEnabledForEntityLink(EntityLinkEntity entityLink)
Returns whether history is enabled for the provided entity link.
|
boolean |
isHistoryEnabledForIdentityLink(IdentityLinkEntity identityLink)
Returns whether history is enabled for the provided identity link.
|
boolean |
isHistoryEnabledForProcessInstance(ExecutionEntity processInstanceExecution)
Returns whether history is enabled for the provided process instance.
|
boolean |
isHistoryEnabledForUserTask(ExecutionEntity executionEntity,
TaskEntity taskEntity)
Returns whether history is enabled for the provided user task.
|
protected boolean |
isHistoryEnabledForUserTask(String processDefinitionId) |
boolean |
isHistoryEnabledForUserTask(org.flowable.task.api.TaskInfo taskInfo)
Returns whether history is enabled for the provided user task.
|
boolean |
isHistoryEnabledForVariableInstance(String processDefinitionId,
VariableInstanceEntity variableInstanceEntity)
Returns whether history is enabled for the provided variable instance.
|
boolean |
isHistoryEnabledForVariableInstance(VariableInstanceEntity variableInstanceEntity)
Returns whether history is enabled for the provided variable instance.
|
boolean |
isHistoryLevelAtLeast(HistoryLevel level,
String processDefinitionId)
Returns whether the history level is at least the given level.
|
protected ProcessEngineConfigurationImpl processEngineConfiguration
public DefaultHistoryConfigurationSettings(ProcessEngineConfigurationImpl processEngineConfiguration)
protected boolean isEnableProcessDefinitionHistoryLevel()
public boolean isHistoryEnabled()
HistoryConfigurationSettingsisHistoryEnabled in interface HistoryConfigurationSettingsprotected HistoryLevel getProcessDefinitionHistoryLevel(String processDefinitionId)
public boolean isHistoryEnabled(String processDefinitionId)
HistoryConfigurationSettingsHistoryLevel.NONE.isHistoryEnabled in interface HistoryConfigurationSettingspublic boolean isHistoryLevelAtLeast(HistoryLevel level, String processDefinitionId)
HistoryConfigurationSettingsisHistoryLevelAtLeast in interface HistoryConfigurationSettingspublic boolean isHistoryEnabledForProcessInstance(ExecutionEntity processInstanceExecution)
HistoryConfigurationSettingsisHistoryEnabledForProcessInstance in interface HistoryConfigurationSettingspublic boolean isHistoryEnabledForActivity(ActivityInstance activityInstance)
HistoryConfigurationSettingsisHistoryEnabledForActivity in interface HistoryConfigurationSettingspublic boolean isHistoryEnabledForActivity(String processDefinitionId, String activityId)
HistoryConfigurationSettingsisHistoryEnabledForActivity in interface HistoryConfigurationSettingsprotected boolean includeFlowElementInHistory(String processDefinitionId, String activityId)
public boolean isHistoryEnabledForUserTask(org.flowable.task.api.TaskInfo taskInfo)
HistoryConfigurationSettingsisHistoryEnabledForUserTask in interface HistoryConfigurationSettingspublic boolean isHistoryEnabledForUserTask(ExecutionEntity executionEntity, TaskEntity taskEntity)
HistoryConfigurationSettingsisHistoryEnabledForUserTask in interface HistoryConfigurationSettingsprotected boolean isHistoryEnabledForUserTask(String processDefinitionId)
protected boolean hasTaskHistoryLevel(HistoryLevel historyLevel)
public boolean isHistoryEnabledForVariableInstance(VariableInstanceEntity variableInstanceEntity)
HistoryConfigurationSettingsisHistoryEnabledForVariableInstance in interface HistoryConfigurationSettingspublic boolean isHistoryEnabledForVariableInstance(String processDefinitionId, VariableInstanceEntity variableInstanceEntity)
HistoryConfigurationSettingsisHistoryEnabledForVariableInstance in interface HistoryConfigurationSettingspublic boolean isHistoryEnabledForIdentityLink(IdentityLinkEntity identityLink)
HistoryConfigurationSettingsisHistoryEnabledForIdentityLink in interface HistoryConfigurationSettingsprotected String getProcessDefinitionId(IdentityLinkEntity identityLink)
public boolean isHistoryEnabledForEntityLink(EntityLinkEntity entityLink)
HistoryConfigurationSettingsisHistoryEnabledForEntityLink in interface HistoryConfigurationSettingsprotected String getProcessDefinitionId(EntityLinkEntity entityLink)
Copyright © 2022 Flowable. All rights reserved.