|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.jcrontab.CrontabBean
This Bean represents an Event. Basically defines all the information necesary. Extends Seriazable to be saved in binary format when neded.
Field Summary | |
boolean |
bextraInfo
This CrontabBean bextraInfo to save time if the extraInfo Exists |
java.util.Calendar |
cal
This calendar defines the CrontabBean |
java.lang.String |
className
This CrontabBean name |
java.lang.String[] |
extraInfo
This CrontabBean extraInfo I mean the parameters given :-) |
int |
id
This CrontabBean Id |
java.lang.String |
methodName
This CrontabBean methodName |
long |
timeMillis
Time in milliseconds from 1970 to the execution of this CrontabBean |
Constructor Summary | |
CrontabBean()
Default void constuctor. |
Method Summary | |
java.util.Calendar |
getCalendar()
This CrontabBean calendar getter |
java.lang.String |
getClassName()
This CrontabBean className getter |
java.lang.String[] |
getExtraInfo()
This CrontabBean extraInfo getter |
int |
getId()
This CrontabBean id getter |
java.lang.String |
getMethodName()
This CrontabBean methodName getter |
long |
getTime()
This CrontabBean timeMillis getter |
void |
setCalendar(java.util.Calendar cal)
This CrontabBean calendar setter |
void |
setClassName(java.lang.String className)
This CrontabBean className setter |
void |
setExtraInfo(java.lang.String[] extraInfo)
This CrontabBean extraInfo setter |
void |
setId(int id)
This CrontabBean Id setter |
void |
setMethodName(java.lang.String methodName)
This CrontabBean methodName setter |
void |
setTime(long timeMillis)
This CrontabBean timeMillis setter |
java.lang.String |
toString()
This Method returns this Bean in a String |
java.lang.String |
toXML()
This Method returns this Bean in a xml format This method is here to make easier integration with web-apps and other systems |
void |
toXML(java.io.PrintWriter pw)
This Method writes this Bean in the given PrintWriter. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public java.util.Calendar cal
public long timeMillis
public int id
public java.lang.String className
public java.lang.String methodName
public boolean bextraInfo
public java.lang.String[] extraInfo
Constructor Detail |
public CrontabBean()
Method Detail |
public void setId(int id)
public void setTime(long timeMillis)
timeMillis
- Time in Milliseconds from 1970public void setClassName(java.lang.String className)
className
- the name of the classpublic void setMethodName(java.lang.String methodName)
methodName
- The name of the given Methodpublic void setExtraInfo(java.lang.String[] extraInfo)
extraInfo
- the parameters given to the classpublic void setCalendar(java.util.Calendar cal)
cal
- the given calendarpublic int getId()
public long getTime()
public java.util.Calendar getCalendar()
public java.lang.String getClassName()
public java.lang.String getMethodName()
public java.lang.String[] getExtraInfo()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toXML()
public void toXML(java.io.PrintWriter pw)
pw
- PrintWriter where the xml eban will be written
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |