|
SAP NetWeaver 7.20 (SP01) Composition Environment | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sap.scheduler.api.CronEntry
public class CronEntry
This class represents a cron entry
| Constructor Summary | |
|---|---|
CronEntry(CronYearField years,
CronMonthField months,
CronDOMField dom,
CronDOWField dow,
CronHourField hours,
CronMinuteField minutes)
Constructs a cron entry object from given fields and the default time zone |
|
CronEntry(CronYearField years,
CronMonthField months,
CronDOMField dom,
CronDOWField dow,
CronHourField hours,
CronMinuteField minutes,
TimeZone tz)
Constructs a cron entry object from given fields and specified time zone |
|
CronEntry(String cron_entry)
Constructs a cron entry object from given cron entry with the default time zone |
|
CronEntry(String cron_entry,
TimeZone tz)
Constructs a cron entry object from given cron entry and specified time zone |
|
| Method Summary | |
|---|---|
boolean |
compareCronEntry(CronEntry entry)
Compares a CronEntry with this. |
CronDOMField |
getDays_of_month()
Getter method |
CronDOWField |
getDays_of_week()
Getter method |
CronHourField |
getHours()
Getter method |
CronMinuteField |
getMinutes()
Getter method |
CronMonthField |
getMonths()
Getter method |
TimeZone |
getTimeZone()
Getter method |
CronYearField |
getYears()
Getter method |
String |
persistableValue()
Returns the entry as a DB persistable |
protected void |
setDays_of_month(CronDOMField days_of_month)
Setter method |
protected void |
setDays_of_week(CronDOWField days_of_week)
Setter method |
protected void |
setHours(CronHourField hours)
Setter method |
protected void |
setMinutes(CronMinuteField minutes)
Setter method |
protected void |
setMonths(CronMonthField months)
Setter method |
protected void |
setYears(CronYearField years)
Setter method |
String |
toString()
Returns a string representation of the entry |
protected int[] |
validate(String entry)
Validates a cron entry |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CronEntry(String cron_entry)
cron_entry - the cron entry
public CronEntry(String cron_entry,
TimeZone tz)
cron_entry - the cron entrytz - the time zone
public CronEntry(CronYearField years,
CronMonthField months,
CronDOMField dom,
CronDOWField dow,
CronHourField hours,
CronMinuteField minutes)
years - the years fieldmonths - the months fielddom - the days of month fielddow - the days of week fieldhours - the hours fieldminutes - the minutes field
public CronEntry(CronYearField years,
CronMonthField months,
CronDOMField dom,
CronDOWField dow,
CronHourField hours,
CronMinuteField minutes,
TimeZone tz)
years - the years fieldmonths - the months fielddom - the days of month fielddow - the days of week fieldhours - the hours fieldminutes - the minutes fieldtz - the specified time zone| Method Detail |
|---|
protected int[] validate(String entry)
entry - the cron entry
public TimeZone getTimeZone()
protected void setYears(CronYearField years)
years - the years fieldprotected void setMonths(CronMonthField months)
months - the months fielsprotected void setDays_of_month(CronDOMField days_of_month)
days_of_month - the days of month fieldprotected void setDays_of_week(CronDOWField days_of_week)
days_of_week - the days of week fieldprotected void setHours(CronHourField hours)
hours - the hours fieldprotected void setMinutes(CronMinuteField minutes)
minutes - the minutes fieldpublic CronYearField getYears()
public CronMonthField getMonths()
public CronDOMField getDays_of_month()
public CronDOWField getDays_of_week()
public CronHourField getHours()
public CronMinuteField getMinutes()
public String persistableValue()
public String toString()
toString in class Objectpublic boolean compareCronEntry(CronEntry entry)
entry - the CronEntry to compare
| Access Rights |
|---|
| SC | DC |
|---|---|
[sap.com] ENGFACADE
|
[sap.com] tc/je/scheduler/api
|
|
SAP NetWeaver 7.20 (SP01) Composition Environment | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||