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 BatchWindowgetCurrentOrNextBatchWindow(Date date, ProcessEngineConfigurationImpl configuration)BatchWindowgetNextBatchWindow(Date date, ProcessEngineConfigurationImpl configuration)BatchWindowgetPreviousDayBatchWindow(Date date, ProcessEngineConfigurationImpl configuration)booleanisBatchWindowConfigured(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:
getCurrentOrNextBatchWindowin interfaceBatchWindowManager
-
getNextBatchWindow
public BatchWindow getNextBatchWindow(Date date, ProcessEngineConfigurationImpl configuration)
- Specified by:
getNextBatchWindowin interfaceBatchWindowManager
-
isBatchWindowConfigured
public boolean isBatchWindowConfigured(ProcessEngineConfigurationImpl configuration)
Description copied from interface:BatchWindowManagerWhen true, then for each date, it's possible to determine next batch window.- Specified by:
isBatchWindowConfiguredin interfaceBatchWindowManager- Returns:
-
-