public abstract class HistoryCleanupHelper extends Object
Constructor and Description |
---|
HistoryCleanupHelper() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isBatchWindowConfigured(CommandContext commandContext) |
static boolean |
isWithinBatchWindow(Date date,
ProcessEngineConfigurationImpl configuration)
Checks if given date is within a batch window.
|
static int[][] |
listMinuteChunks(int numberOfChunks) |
static Date |
parseTimeConfiguration(String time) |
static void |
prepareNextBatch(HistoryCleanupBatch historyCleanupBatch,
CommandContext commandContext)
Creates next batch object for history cleanup.
|
public static boolean isWithinBatchWindow(Date date, ProcessEngineConfigurationImpl configuration)
date
- public static Date parseTimeConfiguration(String time) throws ParseException
ParseException
public static void prepareNextBatch(HistoryCleanupBatch historyCleanupBatch, CommandContext commandContext)
commandContext
- public static int[][] listMinuteChunks(int numberOfChunks)
public static boolean isBatchWindowConfigured(CommandContext commandContext)
Copyright © 2019. All rights reserved.