Class DefaultBatchWindowManager
- java.lang.Object
-
- org.camunda.bpm.engine.impl.jobexecutor.historycleanup.DefaultBatchWindowManager
-
- All Implemented Interfaces:
BatchWindowManager
public class DefaultBatchWindowManager extends java.lang.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(java.util.Date date, ProcessEngineConfigurationImpl configuration)
BatchWindow
getNextBatchWindow(java.util.Date date, ProcessEngineConfigurationImpl configuration)
BatchWindow
getPreviousDayBatchWindow(java.util.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(java.util.Date date, ProcessEngineConfigurationImpl configuration)
-
getCurrentOrNextBatchWindow
public BatchWindow getCurrentOrNextBatchWindow(java.util.Date date, ProcessEngineConfigurationImpl configuration)
- Specified by:
getCurrentOrNextBatchWindow
in interfaceBatchWindowManager
-
getNextBatchWindow
public BatchWindow getNextBatchWindow(java.util.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:
-
-