public interface ApplicationScheduler
| Modifier and Type | Method and Description |
|---|---|
ScheduledApplication |
schedule(ApplicationDescriptor descriptor,
java.lang.String scheduleId,
java.util.Map<java.lang.String,java.lang.Object> arguments,
java.lang.String topic,
java.lang.String eventFilter,
boolean recurring)
Schedules an application
|
void |
unschedule(java.lang.String scheduleId)
Un-schedules an application for the schedule id
|
ScheduledApplication schedule(ApplicationDescriptor descriptor, java.lang.String scheduleId, java.util.Map<java.lang.String,java.lang.Object> arguments, java.lang.String topic, java.lang.String eventFilter, boolean recurring) throws InvalidSyntaxException, ApplicationException
descriptor - the application descriptorscheduleId - the schedule idarguments - the handle argumentstopic - the event trigger topiceventFilter - the optional event filterrecurring - true, if the event occurs recurring on each eventScheduledApplication instanceInvalidSyntaxExceptionApplicationExceptionvoid unschedule(java.lang.String scheduleId)
throws InvalidSyntaxException,
ApplicationException
scheduleId - the id of the application to be removedInvalidSyntaxExceptionApplicationExceptionData In Motion Consulting GmbH