public class SetRemovalTimeToHistoricDecisionInstancesBuilderImpl extends Object implements SetRemovalTimeSelectModeForHistoricDecisionInstancesBuilder
| Modifier and Type | Class and Description |
|---|---|
static class |
SetRemovalTimeToHistoricDecisionInstancesBuilderImpl.Mode |
| Modifier and Type | Field and Description |
|---|---|
protected CommandExecutor |
commandExecutor |
protected List<String> |
ids |
protected boolean |
isHierarchical |
protected SetRemovalTimeToHistoricDecisionInstancesBuilderImpl.Mode |
mode |
protected HistoricDecisionInstanceQuery |
query |
protected Date |
removalTime |
| Constructor and Description |
|---|
SetRemovalTimeToHistoricDecisionInstancesBuilderImpl(CommandExecutor commandExecutor) |
| Modifier and Type | Method and Description |
|---|---|
SetRemovalTimeToHistoricDecisionInstancesBuilder |
absoluteRemovalTime(Date removalTime)
Sets the removal time to an absolute date.
|
SetRemovalTimeToHistoricDecisionInstancesBuilder |
byIds(String... ids)
Selects historic process instances by the given ids.
|
SetRemovalTimeToHistoricDecisionInstancesBuilder |
byQuery(HistoricDecisionInstanceQuery query)
Selects historic decision instances by the given query.
|
SetRemovalTimeToHistoricDecisionInstancesBuilder |
calculatedRemovalTime()
Calculates the removal time dynamically based on the respective decision definition time to
live and the engine's removal time strategy.
|
SetRemovalTimeToHistoricDecisionInstancesBuilder |
clearedRemovalTime()
Sets the removal time to
null. |
Batch |
executeAsync()
Sets the removal time asynchronously as batch.
|
List<String> |
getIds() |
SetRemovalTimeToHistoricDecisionInstancesBuilderImpl.Mode |
getMode() |
HistoricDecisionInstanceQuery |
getQuery() |
Date |
getRemovalTime() |
SetRemovalTimeToHistoricDecisionInstancesBuilder |
hierarchical()
Takes additionally historic decision instances into account that are part of
the hierarchy of the given historic decision instances.
|
boolean |
isHierarchical() |
protected HistoricDecisionInstanceQuery query
protected Date removalTime
protected SetRemovalTimeToHistoricDecisionInstancesBuilderImpl.Mode mode
protected boolean isHierarchical
protected CommandExecutor commandExecutor
public SetRemovalTimeToHistoricDecisionInstancesBuilderImpl(CommandExecutor commandExecutor)
public SetRemovalTimeToHistoricDecisionInstancesBuilder byQuery(HistoricDecisionInstanceQuery query)
SetRemovalTimeToHistoricDecisionInstancesBuilderbyQuery in interface SetRemovalTimeToHistoricDecisionInstancesBuilderquery - to be evaluated.public SetRemovalTimeToHistoricDecisionInstancesBuilder byIds(String... ids)
SetRemovalTimeToHistoricDecisionInstancesBuilderbyIds in interface SetRemovalTimeToHistoricDecisionInstancesBuilderids - supposed to be affected.public SetRemovalTimeToHistoricDecisionInstancesBuilder absoluteRemovalTime(Date removalTime)
SetRemovalTimeSelectModeForHistoricDecisionInstancesBuilderabsoluteRemovalTime in interface SetRemovalTimeSelectModeForHistoricDecisionInstancesBuilderremovalTime - supposed to be set to historic entities.public SetRemovalTimeToHistoricDecisionInstancesBuilder calculatedRemovalTime()
SetRemovalTimeSelectModeForHistoricDecisionInstancesBuilderCalculates the removal time dynamically based on the respective decision definition time to live and the engine's removal time strategy.
In case SetRemovalTimeToHistoricDecisionInstancesBuilder.hierarchical() is enabled, the removal time is being calculated
based on the base time and time to live of the historic root decision instance.
calculatedRemovalTime in interface SetRemovalTimeSelectModeForHistoricDecisionInstancesBuilderpublic SetRemovalTimeToHistoricDecisionInstancesBuilder clearedRemovalTime()
SetRemovalTimeSelectModeForHistoricDecisionInstancesBuilder Sets the removal time to null.
clearedRemovalTime in interface SetRemovalTimeSelectModeForHistoricDecisionInstancesBuilderpublic SetRemovalTimeToHistoricDecisionInstancesBuilder hierarchical()
SetRemovalTimeToHistoricDecisionInstancesBuildernull,
the hierarchy is ignored. This is the case for instances that were started with a version
prior 7.10.hierarchical in interface SetRemovalTimeToHistoricDecisionInstancesBuilderpublic Batch executeAsync()
SetRemovalTimeToHistoricDecisionInstancesBuilderexecuteAsync in interface SetRemovalTimeToHistoricDecisionInstancesBuilderpublic HistoricDecisionInstanceQuery getQuery()
public Date getRemovalTime()
public SetRemovalTimeToHistoricDecisionInstancesBuilderImpl.Mode getMode()
public boolean isHierarchical()
Copyright © 2022. All rights reserved.