public static class Undo.UndoJob extends Job
Job.Inform, Job.Key, Job.Priority, Job.Type
endTime, finished, LOCALDEBUGFLAG, MIN_NUM_SECONDS, reportExecution, startTime
Constructor and Description |
---|
UndoJob(java.lang.String jobName,
int snapshotId) |
Modifier and Type | Method and Description |
---|---|
boolean |
doIt()
This is the main work method.
|
int |
getSnapshotId() |
void |
terminateFail(java.lang.Throwable e)
This method executes in the Client side after exceptional termination of doIt method.
|
abort, checkAbort, fieldVariableChanged, getAllJobs, getDatabase, getDebug, getDeleteWhenDone, getEditingPreferences, getEnvironment, getExtendedUserInterface, getInfo, getInform, getKey, getRunningJob, getScheduledToAbort, getStatus, getTechPool, getTool, getUserInterface, initJobManager, inServerThread, isClientThread, isFinished, pipeClient, pipeServer, remove, setCurrentLibraryInJob, setDebug, setProgress, setReportExecutionFlag, socketClient, startJob, startJob, startJobOnMyResult, terminateIt, terminateOK, toString, updateIncrementalDRCErrors, updateNetworkErrors
public int getSnapshotId()
public boolean doIt() throws JobException
Job
doIt
in class Job
JobException
- TODOpublic void terminateFail(java.lang.Throwable e)
Job
terminateFail
in class Job
e
- null exception thrown by doIt.