public abstract class HistoryCleanupHelper extends Object
Constructor and Description |
---|
HistoryCleanupHelper() |
Modifier and Type | Method and Description |
---|---|
static HistoryCleanupBatch |
getNextBatch(CommandContext commandContext,
HistoryCleanupJobHandlerConfiguration configuration)
Creates next batch object for history cleanup.
|
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) |
public static boolean isWithinBatchWindow(Date date, ProcessEngineConfigurationImpl configuration)
date
- public static Date parseTimeConfiguration(String time) throws ParseException
ParseException
public static HistoryCleanupBatch getNextBatch(CommandContext commandContext, HistoryCleanupJobHandlerConfiguration configuration)
commandContext
- configuration
- public static int[][] listMinuteChunks(int numberOfChunks)
public static boolean isBatchWindowConfigured(CommandContext commandContext)
Copyright © 2019. All rights reserved.