public class PurgeExecHistoryByDateTask extends SessionedTask<java.lang.Integer>
| Constructor and Description |
|---|
PurgeExecHistoryByDateTask(java.util.Date startTime, java.util.Date endTime, boolean deletePurgeRecords)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Integer |
_execute()
Subclasses implement this method
|
static int |
purge(ConfigService configService, java.lang.String session, java.util.Date startTime, java.util.Date endTime, boolean deletePurgeRecords)
Convenience method for purging execution records
|
assertExists, assertLocation, assertNONResource, assertNotExists, assertNotLocationData, assertNotNull, assertNotNullElement, assertResource, assertSimple, call, doExecute, doExecute, doExecute, doExecute, expand, getConfigContext, getConfigMBean, getConfigService, getDescription, getSession, isLocation, isReadOnlyTransaction, requiresSystemTransactionpublic PurgeExecHistoryByDateTask(java.util.Date startTime,
java.util.Date endTime,
boolean deletePurgeRecords)
startTime - the start of time range for execution history purging. Can be nullendTime - the end of the time range for execution history purgingpublic static int purge(ConfigService configService, java.lang.String session, java.util.Date startTime, java.util.Date endTime, boolean deletePurgeRecords) throws java.lang.Exception
startTime - the start of time range for execution history purging. Can be nullendTime - the end of the time range for execution history purgingsession - the session to purge fromjava.lang.Exception - if an error occurs purging exec historyprotected java.lang.Integer _execute()
throws java.lang.Exception
SessionedTask_execute in class SessionedTask<java.lang.Integer>java.lang.Exception