WLDFBean
public interface WLDFScheduleBean extends WLDFBean
Defines a timer schedule for use with WLDF policies and actions and Harvester.
Each field uses syntax as defined by the EJB Timer ScheduleExpression class.
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getDayOfMonth() |
Indicates the day of the month for the schedule.
|
java.lang.String |
getDayOfWeek() |
Indicates the day of the week for the schedule.
|
java.lang.String |
getHour() |
Indicates the hour(s) of the day for the schedule.
|
java.lang.String |
getMinute() |
Indicates the minutes of the hour for the schedule.
|
java.lang.String |
getMonth() |
Indicates the month for the schedule.
|
java.lang.String |
getSecond() |
Indicates the second(s) of the minute for the schedule.
|
java.lang.String |
getTimezone() |
Indicates the time zone for the schedule.
|
java.lang.String |
getYear() |
Indicates the year for the schedule.
|
void |
setDayOfMonth(java.lang.String dayOfMonth) |
Sets the day of the month expression for the schedule.
|
void |
setDayOfWeek(java.lang.String dayOfWeek) |
Sets the day of week expression for the schedule.
|
void |
setHour(java.lang.String hour) |
Sets the hour(s) of the day expression for the schedule
|
void |
setMinute(java.lang.String min) |
Sets the minute(s) of the hour expression for the schedule.
|
void |
setMonth(java.lang.String month) |
Sets the month expression for the schedule.
|
void |
setSecond(java.lang.String sec) |
Sets the second(s) of minute expression for the schedule.
|
void |
setTimezone(java.lang.String tz) |
Sets the timezone expression for the schedule.
|
void |
setYear(java.lang.String year) |
Sets the year expression for the schedule.
|
java.lang.String getHour()
Indicates the hour(s) of the day for the schedule.
Defaults to "*" (every hour).
void setHour(java.lang.String hour)
Sets the hour(s) of the day expression for the schedule
hour
- java.lang.String getMinute()
Indicates the minutes of the hour for the schedule.
Defaults to every five minutes of the hour.
void setMinute(java.lang.String min)
Sets the minute(s) of the hour expression for the schedule.
min
- The minute expression for the schedule.java.lang.String getSecond()
Indicates the second(s) of the minute for the schedule.
Defaults to "0" (at the "0" second of each minute).
void setSecond(java.lang.String sec)
Sets the second(s) of minute expression for the schedule.
sec
- The second expression for the schedulejava.lang.String getYear()
Indicates the year for the schedule.
Defaults to "*" (every year).
void setYear(java.lang.String year)
Sets the year expression for the schedule.
year
- The year expression for the schedulejava.lang.String getMonth()
Indicates the month for the schedule.
Defaults to "*" (every month).
void setMonth(java.lang.String month)
Sets the month expression for the schedule.
month
- java.lang.String getDayOfMonth()
Indicates the day of the month for the schedule.
Defaults to "*" (every day).
void setDayOfMonth(java.lang.String dayOfMonth)
Sets the day of the month expression for the schedule.
dayOfMonth
- java.lang.String getDayOfWeek()
Indicates the day of the week for the schedule.
Defaults to "*" (every day).
void setDayOfWeek(java.lang.String dayOfWeek)
Sets the day of week expression for the schedule.
dayOfWeek
- The day-of-week expressionjava.lang.String getTimezone()
Indicates the time zone for the schedule.
Defaults to the default time zone for the local VM.
void setTimezone(java.lang.String tz)
Sets the timezone expression for the schedule.
tz
- A valid TimeZone
timezone string