Package org.apache.ofbiz.service.job
Class PurgeJob
java.lang.Object
org.apache.ofbiz.service.job.AbstractJob
org.apache.ofbiz.service.job.PurgeJob
- All Implemented Interfaces:
Serializable
,Runnable
,Job
Purge job - removes a JobSandbox entity value and its related values.
- See Also:
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.ofbiz.service.job.AbstractJob
currentState, getCurrentState, getJobId, getJobName, getRuntime, getStartTime, queue, run, setCurrentState
-
Constructor Details
-
PurgeJob
-
-
Method Details
-
exec
Description copied from class:AbstractJob
Executes this Job. TheAbstractJob.run()
method calls this method.- Specified by:
exec
in classAbstractJob
- Throws:
InvalidJobException
-
isValid
public boolean isValid()Description copied from interface:Job
Returns true if this job is ready to be queued. -
deQueue
Description copied from interface:Job
Transitions this job to the pre-queued (created) state. The job manager will call this method when there was a problem adding this job to the queue.- Specified by:
deQueue
in interfaceJob
- Overrides:
deQueue
in classAbstractJob
- Throws:
InvalidJobException
-
getPriority
public long getPriority()Description copied from interface:Job
Returns the priority of this job, higher the number the higher the priority- Specified by:
getPriority
in interfaceJob
- Overrides:
getPriority
in classAbstractJob
-