|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.jcrontab.data.CrontabEntryBean
CrontabEntryBeans represents each entry into crontab "DataSource" usually a file. This Bean allows jcrontab to interact with the information from CrontabEntry
Constructor Summary | |
CrontabEntryBean()
Default constructor |
Method Summary | |
boolean |
equals(java.util.Calendar cal)
Returns true if the time table entry matchs with the calendar given |
boolean |
equals(CrontabEntryBean ceb)
Returns true if the CrontabEntryBean equals the given |
boolean[] |
getBDaysOfMonth()
Days of Month getter |
boolean[] |
getBDaysOfWeek()
Getter Days of Week |
boolean |
getBExtraInfo()
Returns true if theres extra info false otherwise. |
boolean[] |
getBHours()
Hours booleans getter |
boolean[] |
getBMinutes()
Minutes getter |
boolean[] |
getBMonths()
Months Boolean getter |
boolean[] |
getBSeconds()
Days of Month setter |
java.lang.String |
getClassName()
Class Name getter |
java.lang.String |
getDaysOfMonth()
Days of Month getter |
java.lang.String |
getDaysOfWeek()
Days of week getter |
java.lang.String |
getDescription()
Description getter |
java.lang.String[] |
getExtraInfo()
Extra Info getter |
java.lang.String |
getHours()
Hours getter |
int |
getId()
Id getter |
java.lang.String |
getMethodName()
Method Name getter |
java.lang.String |
getMinutes()
Minutes getter |
java.lang.String |
getMonths()
Months getter |
java.lang.String |
getSeconds()
Minutes getter |
void |
setBDaysOfMonth(boolean[] bDaysOfMonth)
Days of Month setter |
void |
setBDaysOfWeek(boolean[] bDaysOfWeek)
Days of Week |
void |
setBExtraInfo(boolean bextraInfo)
bextraInfo setter |
void |
setBHours(boolean[] bHours)
Hours setter |
void |
setBMinutes(boolean[] bMinutes)
Minutes setter |
void |
setBMonths(boolean[] bMonths)
Months setter |
void |
setBSeconds(boolean[] bSeconds)
Seconds setter |
boolean[] |
setBYears()
bYears getter |
void |
setBYears(boolean[] bYears)
Years setter |
void |
setClassName(java.lang.String className)
ClassName Setter |
void |
setDaysOfMonth(java.lang.String daysOfMonth)
Days of Month setter |
void |
setDaysOfWeek(java.lang.String daysOfWeek)
Days of Week |
void |
setDescription(java.lang.String description)
Description setter |
void |
setExtraInfo(java.lang.String[] extraInfo)
Extra info setter |
void |
setHours(java.lang.String hours)
Hours setter |
void |
setId(int id)
Id setter |
void |
setMethodName(java.lang.String methodName)
MethodName setter |
void |
setMinutes(java.lang.String minutes)
Minutes setter |
void |
setMonths(java.lang.String months)
Months setter |
void |
setSeconds(java.lang.String seconds)
Seconds setter |
void |
setYears(java.lang.String years)
Years Setter |
java.lang.String |
toString()
Represents the CrotnabEntryBean in ASCII format |
java.lang.String |
toXML()
Represents the CrotnabEntryBean in XML format |
void |
toXML(java.io.PrintWriter pw)
Returns the XML that represents this Crontab EntryBean |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public CrontabEntryBean()
Method Detail |
public void setId(int id)
id
- this integer identifies the CrontabEntryBeanpublic void setClassName(java.lang.String className)
className
- This is the name of the class to executepublic void setMethodName(java.lang.String methodName)
methodName
- the name of the method to executepublic void setExtraInfo(java.lang.String[] extraInfo)
extraInfo
- this array represents the parameters passed to the
taskpublic void setHours(java.lang.String hours)
hours
- The hours to execute the Class,
the values can take are [ * , 2-4 , 2,3,4,5 , 3/5]public void setMinutes(java.lang.String minutes)
minutes
- The minutes to execute the Class,
the values can take are [ * , 2-4 , 2,3,4,5 , 3/5]public void setSeconds(java.lang.String seconds)
seconds
- The seconds to execute the Class,
the values can take are [ * , 2-4 , 2,3,4,5 , 3/5]public void setMonths(java.lang.String months)
months
- The Monts to execute the Class,
the values can take are [ * , 2-4 , 2,3,4,5 , 3/5]public void setDaysOfWeek(java.lang.String daysOfWeek)
daysOfWeek
- The days of the weekpublic void setDaysOfMonth(java.lang.String daysOfMonth)
daysOfMonth
- The days of the monthpublic void setYears(java.lang.String years)
years
- to be executed this taskpublic void setBHours(boolean[] bHours)
public void setBMinutes(boolean[] bMinutes)
public void setBMonths(boolean[] bMonths)
public void setBDaysOfWeek(boolean[] bDaysOfWeek)
public void setBDaysOfMonth(boolean[] bDaysOfMonth)
public void setBSeconds(boolean[] bSeconds)
bSeconds
- Of ecah minutepublic void setBYears(boolean[] bYears)
bYears
- Of ecah centurypublic void setBExtraInfo(boolean bextraInfo)
public void setDescription(java.lang.String description)
description
- The desciptionpublic int getId()
public java.lang.String getClassName()
public java.lang.String getMethodName()
public java.lang.String[] getExtraInfo()
public java.lang.String getHours()
public java.lang.String getMinutes()
public java.lang.String getSeconds()
public java.lang.String getMonths()
public boolean[] getBHours()
public boolean[] getBMinutes()
public boolean[] getBMonths()
public boolean[] getBDaysOfWeek()
public boolean[] getBDaysOfMonth()
public boolean[] getBSeconds()
public boolean[] setBYears()
public boolean getBExtraInfo()
public java.lang.String getDaysOfWeek()
public java.lang.String getDaysOfMonth()
public java.lang.String getDescription()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toXML()
public void toXML(java.io.PrintWriter pw)
pw
- The printWritter to write the XMLpublic boolean equals(java.util.Calendar cal)
cal
- Calendar to compare with the time table entry
public boolean equals(CrontabEntryBean ceb)
ceb
- CrontabEntryBean to compare with the CrontabEntryBean
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |