Package org.nuxeo.ecm.core.scheduler
Class ScheduleImpl
- java.lang.Object
-
- org.nuxeo.ecm.core.scheduler.ScheduleImpl
-
-
Field Summary
Fields Modifier and Type Field Description StringcronExpressionbooleanenabledStringeventCategoryStringeventIdStringidClass<? extends EventJobFactory>jobFactoryClassStringtimeZoneStringusername
-
Constructor Summary
Constructors Constructor Description ScheduleImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetCronExpression()Returns the cron expression.StringgetEventCategory()Returns the event category.StringgetEventId()Returns the event id.StringgetId()Returns the schedule job id.EventJobFactorygetJobFactory()Returns an instance of theEventJobFactory(DefaultEventJobFactoryby default).StringgetTimeZone()Returns the timezone to be used for the Cron Expression.StringgetUsername()Returns the username.inthashCode()booleanisEnabled()Returns true if the scheduler is enabled and the job scheduled for executionvoidsetEventId(String eventId)StringtoString()
-
-
-
Field Detail
-
id
public String id
-
jobFactoryClass
public Class<? extends EventJobFactory> jobFactoryClass
- Since:
- 10.2
-
eventId
public String eventId
-
eventCategory
public String eventCategory
-
cronExpression
public String cronExpression
-
timeZone
public String timeZone
- Since:
- 10.2
-
username
public String username
-
enabled
public boolean enabled
- Since:
- 5.7.3
-
-
Method Detail
-
setEventId
public void setEventId(String eventId)
-
getId
public String getId()
Description copied from interface:ScheduleReturns the schedule job id.
-
getJobFactory
public EventJobFactory getJobFactory()
Description copied from interface:ScheduleReturns an instance of theEventJobFactory(DefaultEventJobFactoryby default).- Specified by:
getJobFactoryin interfaceSchedule- Returns:
- An instance of
EventJobFactory.
-
getEventId
public String getEventId()
Description copied from interface:ScheduleReturns the event id.- Specified by:
getEventIdin interfaceSchedule- Returns:
- the event id
-
getEventCategory
public String getEventCategory()
Description copied from interface:ScheduleReturns the event category.- Specified by:
getEventCategoryin interfaceSchedule- Returns:
- the event category
-
getCronExpression
public String getCronExpression()
Description copied from interface:ScheduleReturns the cron expression.- Specified by:
getCronExpressionin interfaceSchedule- Returns:
- the cron expression
-
getUsername
public String getUsername()
Description copied from interface:ScheduleReturns the username.- Specified by:
getUsernamein interfaceSchedule- Returns:
- the username
-
isEnabled
public boolean isEnabled()
Description copied from interface:ScheduleReturns true if the scheduler is enabled and the job scheduled for execution
-
getTimeZone
public String getTimeZone()
Description copied from interface:ScheduleReturns the timezone to be used for the Cron Expression.- Specified by:
getTimeZonein interfaceSchedule- Returns:
- the timezone, or
nullif not specified - Since:
- 10.2
-
-