Class DefaultBatchWindowManager
- java.lang.Object
-
- org.camunda.bpm.engine.impl.jobexecutor.historycleanup.DefaultBatchWindowManager
-
- All Implemented Interfaces:
BatchWindowManager
public class DefaultBatchWindowManager extends Object implements BatchWindowManager
- Author:
- Svetlana Dorokhova.
-
-
Constructor Summary
Constructors Constructor Description DefaultBatchWindowManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BatchWindow
getCurrentOrNextBatchWindow(Date date, ProcessEngineConfigurationImpl configuration)
BatchWindow
getNextBatchWindow(Date date, ProcessEngineConfigurationImpl configuration)
BatchWindow
getPreviousDayBatchWindow(Date date, ProcessEngineConfigurationImpl configuration)
boolean
isBatchWindowConfigured(ProcessEngineConfigurationImpl configuration)
When true, then for each date, it's possible to determine next batch window.
-
-
-
Method Detail
-
getPreviousDayBatchWindow
public BatchWindow getPreviousDayBatchWindow(Date date, ProcessEngineConfigurationImpl configuration)
-
getCurrentOrNextBatchWindow
public BatchWindow getCurrentOrNextBatchWindow(Date date, ProcessEngineConfigurationImpl configuration)
- Specified by:
getCurrentOrNextBatchWindow
in interfaceBatchWindowManager
-
getNextBatchWindow
public BatchWindow getNextBatchWindow(Date date, ProcessEngineConfigurationImpl configuration)
- Specified by:
getNextBatchWindow
in interfaceBatchWindowManager
-
isBatchWindowConfigured
public boolean isBatchWindowConfigured(ProcessEngineConfigurationImpl configuration)
Description copied from interface:BatchWindowManager
When true, then for each date, it's possible to determine next batch window.- Specified by:
isBatchWindowConfigured
in interfaceBatchWindowManager
- Returns:
-
-