Class SetRemovalTimeToHistoricBatchesBuilderImpl
- java.lang.Object
- 
- org.camunda.bpm.engine.impl.history.SetRemovalTimeToHistoricBatchesBuilderImpl
 
- 
- All Implemented Interfaces:
- SetRemovalTimeSelectModeForHistoricBatchesBuilder,- SetRemovalTimeToHistoricBatchesBuilder
 
 public class SetRemovalTimeToHistoricBatchesBuilderImpl extends java.lang.Object implements SetRemovalTimeSelectModeForHistoricBatchesBuilder - Author:
- Tassilo Weidner
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classSetRemovalTimeToHistoricBatchesBuilderImpl.Mode
 - 
Field SummaryFields Modifier and Type Field Description protected CommandExecutorcommandExecutorprotected java.util.List<java.lang.String>idsprotected SetRemovalTimeToHistoricBatchesBuilderImpl.Modemodeprotected HistoricBatchQueryqueryprotected java.util.DateremovalTime
 - 
Constructor SummaryConstructors Constructor Description SetRemovalTimeToHistoricBatchesBuilderImpl(CommandExecutor commandExecutor)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description SetRemovalTimeToHistoricBatchesBuilderabsoluteRemovalTime(java.util.Date removalTime)Sets the removal time to an absolute date.SetRemovalTimeToHistoricBatchesBuilderbyIds(java.lang.String... ids)Selects historic batches by the given ids.SetRemovalTimeToHistoricBatchesBuilderbyQuery(HistoricBatchQuery query)Selects historic batches by the given query.SetRemovalTimeToHistoricBatchesBuildercalculatedRemovalTime()Calculates the removal time dynamically based on the time to live of the respective batch and the engine's removal time strategy.SetRemovalTimeToHistoricBatchesBuilderclearedRemovalTime()Sets the removal time tonull.BatchexecuteAsync()Sets the removal time asynchronously as batch.java.util.List<java.lang.String>getIds()SetRemovalTimeToHistoricBatchesBuilderImpl.ModegetMode()HistoricBatchQuerygetQuery()java.util.DategetRemovalTime()
 
- 
- 
- 
Field Detail- 
queryprotected HistoricBatchQuery query 
 - 
idsprotected java.util.List<java.lang.String> ids 
 - 
modeprotected SetRemovalTimeToHistoricBatchesBuilderImpl.Mode mode 
 - 
removalTimeprotected java.util.Date removalTime 
 - 
commandExecutorprotected CommandExecutor commandExecutor 
 
- 
 - 
Constructor Detail- 
SetRemovalTimeToHistoricBatchesBuilderImplpublic SetRemovalTimeToHistoricBatchesBuilderImpl(CommandExecutor commandExecutor) 
 
- 
 - 
Method Detail- 
byQuerypublic SetRemovalTimeToHistoricBatchesBuilder byQuery(HistoricBatchQuery query) Description copied from interface:SetRemovalTimeToHistoricBatchesBuilderSelects historic batches by the given query.- Specified by:
- byQueryin interface- SetRemovalTimeToHistoricBatchesBuilder
- Parameters:
- query- to be evaluated.
- Returns:
- the builder.
 
 - 
byIdspublic SetRemovalTimeToHistoricBatchesBuilder byIds(java.lang.String... ids) Description copied from interface:SetRemovalTimeToHistoricBatchesBuilderSelects historic batches by the given ids.- Specified by:
- byIdsin interface- SetRemovalTimeToHistoricBatchesBuilder
- Parameters:
- ids- supposed to be affected.
- Returns:
- the builder.
 
 - 
absoluteRemovalTimepublic SetRemovalTimeToHistoricBatchesBuilder absoluteRemovalTime(java.util.Date removalTime) Description copied from interface:SetRemovalTimeSelectModeForHistoricBatchesBuilderSets the removal time to an absolute date.- Specified by:
- absoluteRemovalTimein interface- SetRemovalTimeSelectModeForHistoricBatchesBuilder
- Parameters:
- removalTime- supposed to be set to historic entities.
- Returns:
- the builder.
 
 - 
calculatedRemovalTimepublic SetRemovalTimeToHistoricBatchesBuilder 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 interface- SetRemovalTimeSelectModeForHistoricBatchesBuilder
- Returns:
- the builder.
 
 - 
clearedRemovalTimepublic SetRemovalTimeToHistoricBatchesBuilder clearedRemovalTime() Description copied from interface:SetRemovalTimeSelectModeForHistoricBatchesBuilderSets the removal time to null.- Specified by:
- clearedRemovalTimein interface- SetRemovalTimeSelectModeForHistoricBatchesBuilder
- Returns:
- the builder.
 
 - 
executeAsyncpublic Batch 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 interface- SetRemovalTimeToHistoricBatchesBuilder
- Returns:
- the batch which sets the removal time asynchronously.
 
 - 
getQuerypublic HistoricBatchQuery getQuery() 
 - 
getIdspublic java.util.List<java.lang.String> getIds() 
 - 
getRemovalTimepublic java.util.Date getRemovalTime() 
 - 
getModepublic SetRemovalTimeToHistoricBatchesBuilderImpl.Mode getMode() 
 
- 
 
-