|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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()
|
Method Summary | |
boolean |
equals(Object obj)
This method is here to wrap other two avaiable equals |
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 |
boolean |
getBusinessDays()
runOnlyInBusinessDays getter |
boolean[] |
getBYears()
bYears getter |
String |
getClassName()
Class Name getter |
String |
getDaysOfMonth()
Days of Month getter |
String |
getDaysOfWeek()
Days of week getter |
String |
getDescription()
Description getter |
Date |
getEndDate()
endDate setter |
String[] |
getExtraInfo()
Extra Info getter |
String |
getHours()
Hours getter |
int |
getId()
Id getter |
String |
getMethodName()
Method Name getter |
String |
getMinutes()
Minutes getter |
String |
getMonths()
Months getter |
String |
getSeconds()
Minutes getter |
Date |
getStartDate()
startDate setter |
String |
getYear()
Year 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 |
void |
setBusinessDays(boolean runInBusinessDays)
runInBusinessDays setter |
void |
setBYears(boolean[] bYears)
Years setter |
void |
setClassName(String className)
ClassName Setter |
void |
setDaysOfMonth(String daysOfMonth)
Days of Month setter |
void |
setDaysOfWeek(String daysOfWeek)
Days of Week |
void |
setDescription(String description)
Description setter |
void |
setEndDate(Date endDate)
endDate setter |
void |
setExtraInfo(String[] extraInfo)
Extra info setter |
void |
setHours(String hours)
Hours setter |
void |
setId(int id)
Id setter |
void |
setMethodName(String methodName)
MethodName setter |
void |
setMinutes(String minutes)
Minutes setter |
void |
setMonths(String months)
Months setter |
void |
setSeconds(String seconds)
Seconds setter |
void |
setStartDate(Date startDate)
startDate setter |
void |
setYears(String years)
Years Setter |
static CrontabEntryBean[] |
toArray(Object[] obj)
Helps to do the castings in a more simple way. |
String |
toString()
Represents the CrotnabEntryBean in ASCII format |
String |
toXML()
Represents the CrotnabEntryBean in XML format |
void |
toXML(PrintWriter pw)
Returns the XML that represents this Crontab EntryBean |
Methods inherited from class java.lang.Object |
clone, 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(String className)
className
- This is the name of the class to executepublic void setMethodName(String methodName)
methodName
- the name of the method to executepublic void setExtraInfo(String[] extraInfo)
extraInfo
- this array represents the parameters passed to the
taskpublic void setHours(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(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(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(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(String daysOfWeek)
daysOfWeek
- The days of the weekpublic void setDaysOfMonth(String daysOfMonth)
daysOfMonth
- The days of the monthpublic void setYears(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(String description)
description
- The desciptionpublic void setBusinessDays(boolean runInBusinessDays)
public void setStartDate(Date startDate)
public void setEndDate(Date endDate)
public int getId()
public String getClassName()
public String getMethodName()
public String[] getExtraInfo()
public String getHours()
public String getMinutes()
public String getSeconds()
public String getMonths()
public boolean[] getBHours()
public boolean[] getBMinutes()
public boolean[] getBMonths()
public boolean[] getBDaysOfWeek()
public boolean[] getBDaysOfMonth()
public boolean[] getBSeconds()
public boolean[] getBYears()
public boolean getBExtraInfo()
public String getDaysOfWeek()
public String getDaysOfMonth()
public String getYear()
public String getDescription()
public boolean getBusinessDays()
public Date getStartDate()
public Date getEndDate()
public String toString()
public String toXML()
public void toXML(PrintWriter pw)
pw
- The printWritter to write the XMLpublic boolean equals(Object obj)
obj
- Object to compare with the time table entry
public static CrontabEntryBean[] toArray(Object[] obj)
obj
- Object to cast to CrontabEntryBean
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |