public interface SchedulerEngineHelper
Modifier and Type | Method and Description |
---|---|
void |
addScriptingJob(Trigger trigger,
StorageType storageType,
String description,
String language,
String script,
int exceptionsMaxSize) |
void |
auditSchedulerJobs(Message message,
TriggerState triggerState) |
void |
delete(SchedulerEntry schedulerEntry,
StorageType storageType) |
void |
delete(String groupName,
StorageType storageType) |
void |
delete(String jobName,
String groupName,
StorageType storageType) |
String |
getCronText(Calendar calendar,
boolean timeZoneSensitive) |
String |
getCronText(PortletRequest portletRequest,
Calendar calendar,
boolean timeZoneSensitive,
int recurrenceType) |
Date |
getEndTime(SchedulerResponse schedulerResponse) |
Date |
getEndTime(String jobName,
String groupName,
StorageType storageType) |
Date |
getFinalFireTime(SchedulerResponse schedulerResponse) |
Date |
getFinalFireTime(String jobName,
String groupName,
StorageType storageType) |
ObjectValuePair<Exception,Date>[] |
getJobExceptions(SchedulerResponse schedulerResponse) |
ObjectValuePair<Exception,Date>[] |
getJobExceptions(String jobName,
String groupName,
StorageType storageType) |
TriggerState |
getJobState(SchedulerResponse schedulerResponse) |
TriggerState |
getJobState(String jobName,
String groupName,
StorageType storageType) |
Date |
getNextFireTime(SchedulerResponse schedulerResponse) |
Date |
getNextFireTime(String jobName,
String groupName,
StorageType storageType) |
Date |
getPreviousFireTime(SchedulerResponse schedulerResponse) |
Date |
getPreviousFireTime(String jobName,
String groupName,
StorageType storageType) |
SchedulerResponse |
getScheduledJob(String jobName,
String groupName,
StorageType storageType) |
List<SchedulerResponse> |
getScheduledJobs() |
List<SchedulerResponse> |
getScheduledJobs(StorageType storageType) |
List<SchedulerResponse> |
getScheduledJobs(String groupName,
StorageType storageType) |
Date |
getStartTime(SchedulerResponse schedulerResponse) |
Date |
getStartTime(String jobName,
String groupName,
StorageType storageType) |
void |
pause(String groupName,
StorageType storageType) |
void |
pause(String jobName,
String groupName,
StorageType storageType) |
void |
register(MessageListener messageListener,
SchedulerEntry schedulerEntry,
String destinationName) |
void |
resume(String groupName,
StorageType storageType) |
void |
resume(String jobName,
String groupName,
StorageType storageType) |
void |
schedule(Trigger trigger,
StorageType storageType,
String description,
String destinationName,
Message message,
int exceptionsMaxSize) |
void |
schedule(Trigger trigger,
StorageType storageType,
String description,
String destinationName,
Object payload,
int exceptionsMaxSize) |
void |
shutdown() |
void |
start() |
void |
suppressError(String jobName,
String groupName,
StorageType storageType) |
void |
unregister(MessageListener messageListener) |
void |
unschedule(SchedulerEntry schedulerEntry,
StorageType storageType) |
void |
unschedule(String groupName,
StorageType storageType) |
void |
unschedule(String jobName,
String groupName,
StorageType storageType) |
void |
update(String jobName,
String groupName,
StorageType storageType,
String description,
String language,
String script,
int exceptionsMaxSize) |
void |
update(Trigger trigger,
StorageType storageType) |
void addScriptingJob(Trigger trigger, StorageType storageType, String description, String language, String script, int exceptionsMaxSize) throws SchedulerException
SchedulerException
void auditSchedulerJobs(Message message, TriggerState triggerState) throws SchedulerException
SchedulerException
void delete(SchedulerEntry schedulerEntry, StorageType storageType) throws SchedulerException
SchedulerException
void delete(String groupName, StorageType storageType) throws SchedulerException
SchedulerException
void delete(String jobName, String groupName, StorageType storageType) throws SchedulerException
SchedulerException
String getCronText(Calendar calendar, boolean timeZoneSensitive)
String getCronText(PortletRequest portletRequest, Calendar calendar, boolean timeZoneSensitive, int recurrenceType)
Date getEndTime(SchedulerResponse schedulerResponse)
Date getEndTime(String jobName, String groupName, StorageType storageType) throws SchedulerException
SchedulerException
Date getFinalFireTime(SchedulerResponse schedulerResponse)
Date getFinalFireTime(String jobName, String groupName, StorageType storageType) throws SchedulerException
SchedulerException
ObjectValuePair<Exception,Date>[] getJobExceptions(SchedulerResponse schedulerResponse)
ObjectValuePair<Exception,Date>[] getJobExceptions(String jobName, String groupName, StorageType storageType) throws SchedulerException
SchedulerException
TriggerState getJobState(SchedulerResponse schedulerResponse)
TriggerState getJobState(String jobName, String groupName, StorageType storageType) throws SchedulerException
SchedulerException
Date getNextFireTime(SchedulerResponse schedulerResponse)
Date getNextFireTime(String jobName, String groupName, StorageType storageType) throws SchedulerException
SchedulerException
Date getPreviousFireTime(SchedulerResponse schedulerResponse)
Date getPreviousFireTime(String jobName, String groupName, StorageType storageType) throws SchedulerException
SchedulerException
SchedulerResponse getScheduledJob(String jobName, String groupName, StorageType storageType) throws SchedulerException
SchedulerException
List<SchedulerResponse> getScheduledJobs() throws SchedulerException
SchedulerException
List<SchedulerResponse> getScheduledJobs(StorageType storageType) throws SchedulerException
SchedulerException
List<SchedulerResponse> getScheduledJobs(String groupName, StorageType storageType) throws SchedulerException
SchedulerException
Date getStartTime(SchedulerResponse schedulerResponse)
Date getStartTime(String jobName, String groupName, StorageType storageType) throws SchedulerException
SchedulerException
void pause(String groupName, StorageType storageType) throws SchedulerException
SchedulerException
void pause(String jobName, String groupName, StorageType storageType) throws SchedulerException
SchedulerException
void register(MessageListener messageListener, SchedulerEntry schedulerEntry, String destinationName)
void resume(String groupName, StorageType storageType) throws SchedulerException
SchedulerException
void resume(String jobName, String groupName, StorageType storageType) throws SchedulerException
SchedulerException
void schedule(Trigger trigger, StorageType storageType, String description, String destinationName, Message message, int exceptionsMaxSize) throws SchedulerException
SchedulerException
void schedule(Trigger trigger, StorageType storageType, String description, String destinationName, Object payload, int exceptionsMaxSize) throws SchedulerException
SchedulerException
void shutdown() throws SchedulerException
SchedulerException
void start() throws SchedulerException
SchedulerException
void suppressError(String jobName, String groupName, StorageType storageType) throws SchedulerException
SchedulerException
void unregister(MessageListener messageListener)
void unschedule(SchedulerEntry schedulerEntry, StorageType storageType) throws SchedulerException
SchedulerException
void unschedule(String groupName, StorageType storageType) throws SchedulerException
SchedulerException
void unschedule(String jobName, String groupName, StorageType storageType) throws SchedulerException
SchedulerException
void update(String jobName, String groupName, StorageType storageType, String description, String language, String script, int exceptionsMaxSize) throws SchedulerException
SchedulerException
void update(Trigger trigger, StorageType storageType) throws SchedulerException
SchedulerException