Package adalid.jee2
Class JobSchedule
- java.lang.Object
-
- adalid.jee2.JobSchedule
-
public class JobSchedule extends java.lang.Object- Author:
- Jorge Campins
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.StringdayOfMonthSpecifies one or more days within a month.java.lang.StringdayOfWeekSpecifies one or more days within a week.java.lang.StringhourSpecifies one or more hours within a day.java.lang.StringinfoSpecifies an information public String that is associated with the timerjava.lang.StringminuteSpecifies one or more minutes within an hour.java.lang.StringmonthSpecifies one or more months within a year.booleanpermanentlyDisabledSpecifies whether the timer that is created is permanently disabled.booleanpersistentSpecifies whether the timer that is created is persistent.java.lang.StringsecondSpecifies one or more seconds within a minute.java.lang.StringtimezoneSpecifies the time zone within which the schedule is evaluated.java.lang.StringyearSpecifies one or more years.
-
Constructor Summary
Constructors Constructor Description JobSchedule(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDayOfMonth()java.lang.StringgetDayOfWeek()java.lang.StringgetHour()java.lang.StringgetInfo()java.lang.StringgetJobScheduleName()java.lang.StringgetMinute()java.lang.StringgetMonth()java.lang.StringgetSecond()java.lang.StringgetTimezone()java.lang.StringgetYear()booleanisPermanentlyDisabled()booleanisPersistent()
-
-
-
Field Detail
-
second
public java.lang.String second
Specifies one or more seconds within a minute.
-
minute
public java.lang.String minute
Specifies one or more minutes within an hour.
-
hour
public java.lang.String hour
Specifies one or more hours within a day.
-
dayOfWeek
public java.lang.String dayOfWeek
Specifies one or more days within a week.
-
dayOfMonth
public java.lang.String dayOfMonth
Specifies one or more days within a month.
-
month
public java.lang.String month
Specifies one or more months within a year.
-
year
public java.lang.String year
Specifies one or more years.
-
timezone
public java.lang.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 java.lang.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.
-
permanentlyDisabled
public boolean permanentlyDisabled
Specifies whether the timer that is created is permanently disabled.
-
-
Method Detail
-
getJobScheduleName
public java.lang.String getJobScheduleName()
- Returns:
- the job schedule name
-
getSecond
public java.lang.String getSecond()
- Returns:
- the second
-
getMinute
public java.lang.String getMinute()
- Returns:
- the minute
-
getHour
public java.lang.String getHour()
- Returns:
- the hour
-
getDayOfWeek
public java.lang.String getDayOfWeek()
- Returns:
- the day of week
-
getDayOfMonth
public java.lang.String getDayOfMonth()
- Returns:
- the day of month
-
getMonth
public java.lang.String getMonth()
- Returns:
- the month
-
getYear
public java.lang.String getYear()
- Returns:
- the year
-
getTimezone
public java.lang.String getTimezone()
- Returns:
- the timezone
-
getInfo
public java.lang.String getInfo()
- Returns:
- the info
-
isPersistent
public boolean isPersistent()
- Returns:
- the persistent indicator
-
isPermanentlyDisabled
public boolean isPermanentlyDisabled()
- Returns:
- the disabled indicator
-
-