Class SetRemovalTimeToHistoricBatchesBuilderImpl
java.lang.Object
org.camunda.bpm.engine.impl.history.SetRemovalTimeToHistoricBatchesBuilderImpl
- All Implemented Interfaces:
SetRemovalTimeSelectModeForHistoricBatchesBuilder,SetRemovalTimeToHistoricBatchesBuilder
public class SetRemovalTimeToHistoricBatchesBuilderImpl
extends Object
implements SetRemovalTimeSelectModeForHistoricBatchesBuilder
- Author:
- Tassilo Weidner
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CommandExecutorprotected HistoricBatchQueryprotected Date -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabsoluteRemovalTime(Date removalTime) Sets the removal time to an absolute date.Selects historic batches by the given ids.byQuery(HistoricBatchQuery query) Selects historic batches by the given query.Calculates the removal time dynamically based on the time to live of the respective batch and the engine's removal time strategy.Sets the removal time tonull.Sets the removal time asynchronously as batch.getIds()getMode()getQuery()
-
Field Details
-
query
-
ids
-
mode
-
removalTime
-
commandExecutor
-
-
Constructor Details
-
SetRemovalTimeToHistoricBatchesBuilderImpl
-
-
Method Details
-
byQuery
Description copied from interface:SetRemovalTimeToHistoricBatchesBuilderSelects historic batches by the given query.- Specified by:
byQueryin interfaceSetRemovalTimeToHistoricBatchesBuilder- Parameters:
query- to be evaluated.- Returns:
- the builder.
-
byIds
Description copied from interface:SetRemovalTimeToHistoricBatchesBuilderSelects historic batches by the given ids.- Specified by:
byIdsin interfaceSetRemovalTimeToHistoricBatchesBuilder- Parameters:
ids- supposed to be affected.- Returns:
- the builder.
-
absoluteRemovalTime
Description copied from interface:SetRemovalTimeSelectModeForHistoricBatchesBuilderSets the removal time to an absolute date.- Specified by:
absoluteRemovalTimein interfaceSetRemovalTimeSelectModeForHistoricBatchesBuilder- Parameters:
removalTime- supposed to be set to historic entities.- Returns:
- the builder.
-
calculatedRemovalTime
Description copied from interface:SetRemovalTimeSelectModeForHistoricBatchesBuilderCalculates the removal time dynamically based on the time to live of the respective batch and the engine's removal time strategy.- Specified by:
calculatedRemovalTimein interfaceSetRemovalTimeSelectModeForHistoricBatchesBuilder- Returns:
- the builder.
-
clearedRemovalTime
Description copied from interface:SetRemovalTimeSelectModeForHistoricBatchesBuilderSets the removal time to
null.- Specified by:
clearedRemovalTimein interfaceSetRemovalTimeSelectModeForHistoricBatchesBuilder- Returns:
- the builder.
-
executeAsync
Description copied from interface:SetRemovalTimeToHistoricBatchesBuilderSets the removal time asynchronously as batch. The returned batch can be used to track the progress of setting a removal time.- Specified by:
executeAsyncin interfaceSetRemovalTimeToHistoricBatchesBuilder- Returns:
- the batch which sets the removal time asynchronously.
-
getQuery
-
getIds
-
getRemovalTime
-
getMode
-