|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.electric.tool.Job
com.sun.electric.tool.UniversalJob
public class UniversalJob
Job executing given tasks on a server and then on a client
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.sun.electric.tool.Job |
---|
Job.Mode, Job.Priority, Job.Type |
Field Summary |
---|
Fields inherited from class com.sun.electric.tool.Job |
---|
BATCHMODE, endTime, LOCALDEBUGFLAG, startTime |
Constructor Summary | |
---|---|
UniversalJob(java.lang.String jobName,
java.lang.Runnable doIt)
|
|
UniversalJob(java.lang.String jobName,
java.lang.Runnable doIt,
java.lang.Runnable terminateOK)
|
Method Summary | |
---|---|
boolean |
doIt()
This is the main work method. |
void |
terminateOK()
This method executes in the Client side after normal termination of doIt method. |
Methods inherited from class com.sun.electric.tool.Job |
---|
abort, acquireExamineLock, checkAbort, fieldVariableChanged, getAllJobs, getDatabase, getDebug, getDeleteWhenDone, getDisplay, getExtendedUserInterface, getInfo, getNumThreads, getRunMode, getRunningJob, getScheduledToAbort, getStatus, getUserInterface, initJobManager, invokeExamineLater, isFinished, releaseExamineLock, remove, setDebug, setProgress, setReportExecutionFlag, setThreadMode, startJob, startJob, startJobOnMyResult, terminateFail, terminateIt, threadDatabase, toString, updateIncrementalDRCErrors, updateNetworkErrors, wantUpdateGui |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public UniversalJob(java.lang.String jobName, java.lang.Runnable doIt)
jobName
- a name of the JobdoIt
- the task to run on a serverpublic UniversalJob(java.lang.String jobName, java.lang.Runnable doIt, java.lang.Runnable terminateOK)
jobName
- a name of the JobdoIt
- the task to run on a serverterminateOK
- the task to run on a clientMethod Detail |
---|
public boolean doIt()
Job
doIt
in class Job
public void terminateOK()
Job
terminateOK
in class Job
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |