|
||||||||||
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.Inform, Job.Key, Job.Priority, Job.Type |
Field Summary |
---|
Fields inherited from class com.sun.electric.tool.Job |
---|
endTime, finished, LOCALDEBUGFLAG, MIN_NUM_SECONDS, reportExecution, 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, 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, terminateFail, terminateIt, toString, updateIncrementalDRCErrors, updateNetworkErrors |
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 |