|
|||||||||
| Home >> All >> org >> media >> mn8 >> util >> [ cron overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.media.mn8.util.cron
Class CronScheduledEntry

java.lang.Objectorg.media.mn8.util.cron.CronScheduledEntry
- All Implemented Interfaces:
- java.lang.Comparable
- final class CronScheduledEntry
- extends java.lang.Object
- implements java.lang.Comparable
- extends java.lang.Object
| Field Summary | |
private boolean |
m_isMethod
|
protected boolean |
m_isValid
|
protected java.lang.String |
m_name
|
private org.media.mn8.concepts.SeriesConcept |
m_params
|
protected java.lang.String |
m_target
|
protected long |
m_time
|
protected Trigger |
m_trigger
|
| Constructor Summary | |
CronScheduledEntry(java.lang.String name,
Trigger trigger,
java.lang.String target)
|
|
CronScheduledEntry(java.lang.String name,
Trigger trigger,
java.lang.String target,
org.media.mn8.concepts.SeriesConcept params)
|
|
| Method Summary | |
int |
compareTo(java.lang.Object object)
Implement comparable interface used to help sort triggers. |
java.lang.String |
getName()
Return name of trigger. |
long |
getNextTime()
Retrieve cached time when trigger should run next. |
org.media.mn8.concepts.SeriesConcept |
getParams()
|
java.lang.String |
getTarget()
|
Trigger |
getTimeTrigger()
|
void |
invalidate()
Invalidate trigger |
boolean |
isMethod()
|
boolean |
isValid()
Determine if this entry is valid |
void |
setNextTime(long time)
Set cached time in milliseconds when trigger should run |
java.lang.String |
toString()
Convert this Object to a human-readable String. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
m_name
protected final java.lang.String m_name
m_trigger
protected final Trigger m_trigger
m_target
protected final java.lang.String m_target
m_time
protected long m_time
m_isValid
protected boolean m_isValid
m_isMethod
private boolean m_isMethod
m_params
private org.media.mn8.concepts.SeriesConcept m_params
| Constructor Detail |
CronScheduledEntry
public CronScheduledEntry(java.lang.String name, Trigger trigger, java.lang.String target)
CronScheduledEntry
public CronScheduledEntry(java.lang.String name, Trigger trigger, java.lang.String target, org.media.mn8.concepts.SeriesConcept params)
| Method Detail |
getParams
public org.media.mn8.concepts.SeriesConcept getParams()
isMethod
public boolean isMethod()
getName
public java.lang.String getName()
- Return name of trigger.
getTarget
public java.lang.String getTarget()
getTimeTrigger
public Trigger getTimeTrigger()
isValid
public boolean isValid()
- Determine if this entry is valid
invalidate
public void invalidate()
- Invalidate trigger
getNextTime
public long getNextTime()
- Retrieve cached time when trigger should run next.
setNextTime
public void setNextTime(long time)
- Set cached time in milliseconds when trigger should run
compareTo
public int compareTo(java.lang.Object object)
- Implement comparable interface used to help sort triggers.
Triggers are compared based on next time to run
- Specified by:
compareToin interfacejava.lang.Comparable
toString
public java.lang.String toString()
- Description copied from class:
java.lang.Object - Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string concatenation with this object. If the result is
null, string concatenation will instead use"null".The default implementation returns
getClass().getName() + "@" + Integer.toHexString(hashCode()).
|
|||||||||
| Home >> All >> org >> media >> mn8 >> util >> [ cron overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.media.mn8.util.cron.CronScheduledEntry