Package org.nuxeo.ecm.core.scheduler
Class ScheduleImpl
java.lang.Object
org.nuxeo.ecm.core.scheduler.ScheduleImpl
- All Implemented Interfaces:
Schedule
ScheduleImpl extension definition.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the cron expression.Returns the event category.Returns the event id.getId()Returns the schedule job id.Returns an instance of theEventJobFactory(DefaultEventJobFactoryby default).Returns the timezone to be used for the Cron Expression.Returns the username.inthashCode()booleanReturns true if the scheduler is enabled and the job scheduled for executionvoidsetEventId(String eventId) toString()
-
Field Details
-
id
-
jobFactoryClass
- Since:
- 10.2
-
eventId
-
eventCategory
-
cronExpression
-
timeZone
- Since:
- 10.2
-
username
-
enabled
public boolean enabled- Since:
- 5.7.3
-
-
Constructor Details
-
ScheduleImpl
public ScheduleImpl()
-
-
Method Details
-
setEventId
-
getId
Description copied from interface:ScheduleReturns the schedule job id. -
getJobFactory
Description copied from interface:ScheduleReturns an instance of theEventJobFactory(DefaultEventJobFactoryby default).- Specified by:
getJobFactoryin interfaceSchedule- Returns:
- An instance of
EventJobFactory.
-
getEventId
Description copied from interface:ScheduleReturns the event id.- Specified by:
getEventIdin interfaceSchedule- Returns:
- the event id
-
getEventCategory
Description copied from interface:ScheduleReturns the event category.- Specified by:
getEventCategoryin interfaceSchedule- Returns:
- the event category
-
getCronExpression
Description copied from interface:ScheduleReturns the cron expression.- Specified by:
getCronExpressionin interfaceSchedule- Returns:
- the cron expression
-
getUsername
Description copied from interface:ScheduleReturns the username.- Specified by:
getUsernamein interfaceSchedule- Returns:
- the username
-
toString
-
equals
-
hashCode
public int hashCode() -
isEnabled
public boolean isEnabled()Description copied from interface:ScheduleReturns true if the scheduler is enabled and the job scheduled for execution -
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
-