public class SetRemovalTimeToHistoricProcessInstancesAsyncBuilderImpl extends Object implements SetRemovalTimeToHistoricProcessInstancesAsyncBuilder
| Modifier and Type | Class and Description |
|---|---|
static class |
SetRemovalTimeToHistoricProcessInstancesAsyncBuilderImpl.Mode |
| Modifier and Type | Field and Description |
|---|---|
protected CommandExecutor |
commandExecutor |
protected boolean |
isHierarchical |
protected SetRemovalTimeToHistoricProcessInstancesAsyncBuilderImpl.Mode |
mode |
protected HistoricProcessInstanceQuery |
query |
protected Date |
removalTime |
| Constructor and Description |
|---|
SetRemovalTimeToHistoricProcessInstancesAsyncBuilderImpl(CommandExecutor commandExecutor) |
| Modifier and Type | Method and Description |
|---|---|
SetRemovalTimeToHistoricProcessInstancesAsyncBuilder |
absoluteRemovalTime(Date removalTime)
Sets the removal time to an absolute date or
null (clears the removal time). |
SetRemovalTimeToHistoricProcessInstancesAsyncBuilder |
byQuery(HistoricProcessInstanceQuery query)
Selects historic process instances by the given query.
|
SetRemovalTimeToHistoricProcessInstancesAsyncBuilder |
calculatedRemovalTime()
Calculates the removal time dynamically based on the respective process definition time to
live and the process engine's removal time strategy.
|
Batch |
executeAsync()
Sets the removal time asynchronously as batch.
|
SetRemovalTimeToHistoricProcessInstancesAsyncBuilderImpl.Mode |
getMode() |
HistoricProcessInstanceQuery |
getQuery() |
Date |
getRemovalTime() |
SetRemovalTimeToHistoricProcessInstancesAsyncBuilder |
hierarchical()
Takes additionally those historic process instances into account that are part of
the hierarchy of the given historic process instance.
|
boolean |
isHierarchical() |
protected HistoricProcessInstanceQuery query
protected Date removalTime
protected SetRemovalTimeToHistoricProcessInstancesAsyncBuilderImpl.Mode mode
protected boolean isHierarchical
protected CommandExecutor commandExecutor
public SetRemovalTimeToHistoricProcessInstancesAsyncBuilderImpl(CommandExecutor commandExecutor)
public SetRemovalTimeToHistoricProcessInstancesAsyncBuilder byQuery(HistoricProcessInstanceQuery query)
SetRemovalTimeToHistoricProcessInstancesAsyncBuilderbyQuery in interface SetRemovalTimeToHistoricProcessInstancesAsyncBuilderquery - to be evaluated.public SetRemovalTimeToHistoricProcessInstancesAsyncBuilder absoluteRemovalTime(Date removalTime)
SetRemovalTimeToHistoricProcessInstancesAsyncBuildernull (clears the removal time).absoluteRemovalTime in interface SetRemovalTimeToHistoricProcessInstancesAsyncBuilderremovalTime - supposed to be set to historic entities.public SetRemovalTimeToHistoricProcessInstancesAsyncBuilder calculatedRemovalTime()
SetRemovalTimeToHistoricProcessInstancesAsyncBuildercalculatedRemovalTime in interface SetRemovalTimeToHistoricProcessInstancesAsyncBuilderpublic SetRemovalTimeToHistoricProcessInstancesAsyncBuilder hierarchical()
SetRemovalTimeToHistoricProcessInstancesAsyncBuildernull,
the hierarchy is ignored. This is the case for instances that were started with a version
prior 7.10.hierarchical in interface SetRemovalTimeToHistoricProcessInstancesAsyncBuilderpublic Batch executeAsync()
SetRemovalTimeToHistoricProcessInstancesAsyncBuilderexecuteAsync in interface SetRemovalTimeToHistoricProcessInstancesAsyncBuilderpublic HistoricProcessInstanceQuery getQuery()
public Date getRemovalTime()
public SetRemovalTimeToHistoricProcessInstancesAsyncBuilderImpl.Mode getMode()
public boolean isHierarchical()
Copyright © 2013–2019 camunda services GmbH. All rights reserved.