public class ScheduleImpl extends Object implements Schedule
Modifier and Type | Field and Description |
---|---|
String |
cronExpression |
boolean |
enabled |
String |
eventCategory |
String |
eventId |
String |
id |
Class<? extends EventJobFactory> |
jobFactoryClass |
String |
timeZone |
String |
username |
Constructor and Description |
---|
ScheduleImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
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.
|
int |
hashCode() |
boolean |
isEnabled()
Returns true if the scheduler is enabled and the job scheduled for execution
|
void |
setEventId(String eventId) |
String |
toString() |
public Class<? extends EventJobFactory> jobFactoryClass
public String eventCategory
public String cronExpression
public boolean enabled
public ScheduleImpl()
public void setEventId(String eventId)
public String getId()
Schedule
public EventJobFactory getJobFactory()
Schedule
EventJobFactory
(DefaultEventJobFactory
by default).getJobFactory
in interface Schedule
EventJobFactory
.public String getEventId()
Schedule
getEventId
in interface Schedule
public String getEventCategory()
Schedule
getEventCategory
in interface Schedule
public String getCronExpression()
Schedule
getCronExpression
in interface Schedule
public String getUsername()
Schedule
getUsername
in interface Schedule
public boolean isEnabled()
Schedule
public String getTimeZone()
Schedule
getTimeZone
in interface Schedule
null
if not specifiedCopyright © 2019 Nuxeo. All rights reserved.