public interface Schedule extends Serializable
Holds information about a schedule, including the event to send, the username to use to open the session, and the periodicity for the schedule.
| Modifier and Type | Method and Description | 
|---|---|
String | 
getCronExpression()
Returns the cron expression. 
 | 
String | 
getEventCategory()
Returns the event category. 
 | 
String | 
getEventId()
Returns the event id. 
 | 
String | 
getId()
Returns the schedule job id. 
 | 
EventJobFactory | 
getJobFactory()
Returns an instance of the  
EventJobFactory (DefaultEventJobFactory by default). | 
String | 
getTimeZone()
Returns the timezone to be used for the Cron Expression. 
 | 
String | 
getUsername()
Returns the username. 
 | 
boolean | 
isEnabled()
Returns true if the scheduler is enabled and the job scheduled for execution 
 | 
EventJobFactory getJobFactory()
EventJobFactory (DefaultEventJobFactory by default).EventJobFactory.String getEventId()
String getEventCategory()
String getCronExpression()
String getUsername()
boolean isEnabled()
String getTimeZone()
null if not specifiedCopyright © 2019 Nuxeo. All rights reserved.