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
-
Method Summary
Modifier and TypeMethodDescriptionstatic ScheduleInfoImpl
void
static ScheduleInfoImpl
static ScheduleInfoImpl
DAILY
(int hour, int minute) static ScheduleInfoImpl
static ScheduleInfoImpl
deserialize
(org.apache.sling.event.jobs.ScheduleInfo.ScheduleType scheduleType, String s) getAt()
If the job is scheduled daily or weekly, return the cron expressionint
int
int
int
int
org.apache.sling.event.jobs.ScheduleInfo.ScheduleType
getType()
static ScheduleInfoImpl
HOURLY
(int minutes) static ScheduleInfoImpl
MONTHLY
(int day, int hour, int minute) toString()
static ScheduleInfoImpl
WEEKLY
(int day, int hour, int minute) static ScheduleInfoImpl
YEARLY
(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:
getType
in interfaceorg.apache.sling.event.jobs.ScheduleInfo
-
getAt
- Specified by:
getAt
in interfaceorg.apache.sling.event.jobs.ScheduleInfo
-
getDayOfWeek
public int getDayOfWeek()- Specified by:
getDayOfWeek
in interfaceorg.apache.sling.event.jobs.ScheduleInfo
-
getHourOfDay
public int getHourOfDay()- Specified by:
getHourOfDay
in interfaceorg.apache.sling.event.jobs.ScheduleInfo
-
getMinuteOfHour
public int getMinuteOfHour()- Specified by:
getMinuteOfHour
in interfaceorg.apache.sling.event.jobs.ScheduleInfo
-
getExpression
- Specified by:
getExpression
in interfaceorg.apache.sling.event.jobs.ScheduleInfo
-
getMonthOfYear
public int getMonthOfYear()- Specified by:
getMonthOfYear
in interfaceorg.apache.sling.event.jobs.ScheduleInfo
-
getDayOfMonth
public int getDayOfMonth()- Specified by:
getDayOfMonth
in interfaceorg.apache.sling.event.jobs.ScheduleInfo
-
check
-
getNextScheduledExecution
-
getCronExpression
If the job is scheduled daily or weekly, return the cron expression -
toString
-