public abstract class AbstractStructureJob extends Object implements StructureJob
StructureJob.State
Constructor and Description |
---|
AbstractStructureJob() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
doJob() |
StructureJob.State |
getState() |
void |
job()
Runs the job in background.
|
void |
reset()
Reset the state of the job so that it becomes
StructureJob.State.PENDING . |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getUser
protected final Object myLock
public final StructureJob.State getState()
getState
in interface StructureJob
StructureJob.State
public void reset()
StructureJob
Reset the state of the job so that it becomes StructureJob.State.PENDING
. Should not be called
when the job is running.
reset
in interface StructureJob
public final void job() throws Exception
StructureJob
Runs the job in background. Before this method is called, all JIRA thread maintenance is done
and the current user is set up to be what StructureJob.getUser()
returns.
job
in interface StructureJob
Exception
- any exception thrown by the job will be logged but won't stop job managerCopyright © 2024 Tempo Software. All Rights Reserved.