public interface HistoryRemovalTimeProvider
Modifier and Type | Method and Description |
---|---|
Date |
calculateRemovalTime(HistoricBatchEntity historicBatch)
Calculates the removal time of historic batches.
|
Date |
calculateRemovalTime(HistoricDecisionInstanceEntity historicRootDecisionInstance,
DecisionDefinition decisionDefinition)
Calculates the removal time of historic entities related to decisions.
|
Date |
calculateRemovalTime(HistoricProcessInstanceEventEntity historicRootProcessInstance,
ProcessDefinition processDefinition)
Calculates the removal time of historic entities related to processes.
|
Date calculateRemovalTime(HistoricProcessInstanceEventEntity historicRootProcessInstance, ProcessDefinition processDefinition)
HistoricScopeInstanceEvent.getEndTime()
is null
END: the removal time is updated simultaneously for all historic entities which belong to
the root process instance when it ends.
HistoricScopeInstanceEvent.getEndTime()
is not null
historicRootProcessInstance
- which is either in state running or endedprocessDefinition
- of the historic root process instanceDate calculateRemovalTime(HistoricDecisionInstanceEntity historicRootDecisionInstance, DecisionDefinition decisionDefinition)
historicRootDecisionInstance
- decisionDefinition
- of the historic root decision instanceDate calculateRemovalTime(HistoricBatchEntity historicBatch)
HistoricBatchEntity.getEndTime()
is null
END: the removal time is set for the historic batch entity on end.
HistoricBatchEntity.getEndTime()
is not null
historicBatch
- which is either in state running or endedCopyright © 2020. All rights reserved.