|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.ofbiz.core.service.job.AbstractJob
Abstract Service Job - Invokes a service
Field Summary | |
static java.lang.String |
module
|
protected long |
runtime
|
protected long |
sequence
|
Constructor Summary | |
protected |
AbstractJob(java.lang.String jobName)
|
Method Summary | |
abstract void |
exec()
Executes the Job. |
java.lang.String |
getJobName()
Returns the name of this Job. |
long |
getRuntime()
Returns the time to run in milliseconds. |
boolean |
isValid()
Returns true if this job is still valid. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String module
protected long runtime
protected long sequence
Constructor Detail |
protected AbstractJob(java.lang.String jobName)
Method Detail |
public long getRuntime()
getRuntime
in interface Job
public boolean isValid()
isValid
in interface Job
public java.lang.String getJobName()
getJobName
in interface Job
public abstract void exec()
exec
in interface Job
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |