@ProviderType
public interface ScheduleInfo
Modifier and Type | Interface and Description |
---|---|
static class |
ScheduleInfo.ScheduleType |
Modifier and Type | Method and Description |
---|---|
Date |
getAt()
Return the scheduled execution date for a schedule of type date.
|
int |
getDayOfMonth()
If the job is scheduled monthly, returns the day of the month
|
int |
getDayOfWeek()
If the job is scheduled weekly, returns the day of the week
|
String |
getExpression()
If the schedule is a cron expression, return the expression.
|
int |
getHourOfDay()
Return the hour of the day for daily and weekly scheduled jobs
|
int |
getMinuteOfHour()
Return the minute of the hour for daily, weekly and hourly scheduled jobs.
|
int |
getMonthOfYear()
If the job is scheduled yearly, returns the month of the year
|
ScheduleInfo.ScheduleType |
getType()
Return the scheduling type
|
ScheduleInfo.ScheduleType getType()
Date getAt()
String getExpression()
null
int getMonthOfYear()
int getDayOfMonth()
int getDayOfWeek()
int getHourOfDay()
int getMinuteOfHour()
Copyright © 2015 The Apache Software Foundation. All rights reserved.