Package adalid.jee2
Class JobSchedule
- java.lang.Object
-
- adalid.jee2.JobSchedule
-
public class JobSchedule extends Object
- Author:
- Jorge Campins
-
-
Field Summary
Fields Modifier and Type Field Description StringdayOfMonthSpecifies one or more days within a month.StringdayOfWeekSpecifies one or more days within a week.StringhourSpecifies one or more hours within a day.StringinfoSpecifies an information public String that is associated with the timerStringminuteSpecifies one or more minutes within an hour.StringmonthSpecifies one or more months within a year.booleanpersistentSpecifies whether the timer that is created is persistent.StringsecondSpecifies one or more seconds within a minute.StringtimezoneSpecifies the time zone within which the schedule is evaluated.StringyearSpecifies one or more years.
-
Constructor Summary
Constructors Constructor Description JobSchedule(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDayOfMonth()StringgetDayOfWeek()StringgetHour()StringgetInfo()StringgetJobScheduleName()StringgetMinute()StringgetMonth()booleangetPersistent()StringgetSecond()StringgetTimezone()StringgetYear()
-
-
-
Field Detail
-
second
public String second
Specifies one or more seconds within a minute.
-
minute
public String minute
Specifies one or more minutes within an hour.
-
hour
public String hour
Specifies one or more hours within a day.
-
dayOfWeek
public String dayOfWeek
Specifies one or more days within a week.
-
dayOfMonth
public String dayOfMonth
Specifies one or more days within a month.
-
month
public String month
Specifies one or more months within a year.
-
year
public String year
Specifies one or more years.
-
timezone
public String timezone
Specifies the time zone within which the schedule is evaluated. Time zones are specified as an ID public String. The set of required time zone IDs is defined by the Zone Name(TZ) column of the public domain zoneinfo database. If a timezone is not specified, the schedule is evaluated in the context of the default timezone associated with the contianer in which the application is executing.
-
info
public String info
Specifies an information public String that is associated with the timer
-
persistent
public boolean persistent
Specifies whether the timer that is created is persistent.
-
-
Constructor Detail
-
JobSchedule
public JobSchedule(String name)
-
-
Method Detail
-
getJobScheduleName
public String getJobScheduleName()
- Returns:
- the job schedule name
-
getSecond
public String getSecond()
- Returns:
- the second
-
getMinute
public String getMinute()
- Returns:
- the minute
-
getHour
public String getHour()
- Returns:
- the hour
-
getDayOfWeek
public String getDayOfWeek()
- Returns:
- the day of week
-
getDayOfMonth
public String getDayOfMonth()
- Returns:
- the day of month
-
getMonth
public String getMonth()
- Returns:
- the month
-
getYear
public String getYear()
- Returns:
- the year
-
getTimezone
public String getTimezone()
- Returns:
- the timezone
-
getInfo
public String getInfo()
- Returns:
- the info
-
getPersistent
public boolean getPersistent()
- Returns:
- the persistent indicator
-
-