Class ScheduleInfoImpl
java.lang.Object
org.apache.sling.event.impl.support.ScheduleInfoImpl
- All Implemented Interfaces:
Serializable,org.apache.sling.event.jobs.ScheduleInfo
public class ScheduleInfoImpl
extends Object
implements org.apache.sling.event.jobs.ScheduleInfo, Serializable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.sling.event.jobs.ScheduleInfo
org.apache.sling.event.jobs.ScheduleInfo.ScheduleType -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic ScheduleInfoImplvoidstatic ScheduleInfoImplstatic ScheduleInfoImplDAILY(int hour, int minute) static ScheduleInfoImplstatic ScheduleInfoImpldeserialize(org.apache.sling.event.jobs.ScheduleInfo.ScheduleType scheduleType, String s) getAt()If the job is scheduled daily or weekly, return the cron expressionintintintintintorg.apache.sling.event.jobs.ScheduleInfo.ScheduleTypegetType()static ScheduleInfoImplHOURLY(int minutes) static ScheduleInfoImplMONTHLY(int day, int hour, int minute) toString()static ScheduleInfoImplWEEKLY(int day, int hour, int minute) static ScheduleInfoImplYEARLY(int month, int day, int hour, int minute)
-
Field Details
-
EVENTING_THREADPOOL_NAME
- See Also:
-
-
Method Details
-
HOURLY
-
CRON
-
AT
-
YEARLY
-
MONTHLY
-
WEEKLY
-
DAILY
-
deserialize
public static ScheduleInfoImpl deserialize(org.apache.sling.event.jobs.ScheduleInfo.ScheduleType scheduleType, String s) -
deserialize
-
getSerializedString
-
getType
public org.apache.sling.event.jobs.ScheduleInfo.ScheduleType getType()- Specified by:
getTypein interfaceorg.apache.sling.event.jobs.ScheduleInfo
-
getAt
- Specified by:
getAtin interfaceorg.apache.sling.event.jobs.ScheduleInfo
-
getDayOfWeek
public int getDayOfWeek()- Specified by:
getDayOfWeekin interfaceorg.apache.sling.event.jobs.ScheduleInfo
-
getHourOfDay
public int getHourOfDay()- Specified by:
getHourOfDayin interfaceorg.apache.sling.event.jobs.ScheduleInfo
-
getMinuteOfHour
public int getMinuteOfHour()- Specified by:
getMinuteOfHourin interfaceorg.apache.sling.event.jobs.ScheduleInfo
-
getExpression
- Specified by:
getExpressionin interfaceorg.apache.sling.event.jobs.ScheduleInfo
-
getMonthOfYear
public int getMonthOfYear()- Specified by:
getMonthOfYearin interfaceorg.apache.sling.event.jobs.ScheduleInfo
-
getDayOfMonth
public int getDayOfMonth()- Specified by:
getDayOfMonthin interfaceorg.apache.sling.event.jobs.ScheduleInfo
-
check
-
getNextScheduledExecution
-
getCronExpression
If the job is scheduled daily or weekly, return the cron expression -
toString
-