Node Director
|
Public Member Functions | |
JobNode () | |
JobNode (String name) | |
JobNode (String name, String descr) | |
JobNode (DBObject dbo) | |
JobNode (DBObject dbo, boolean doregister) | |
JobNode (Job job) | |
void | todb (DBObject dbo) |
void | die () |
void | log (LogEntry le) |
void | addTmpFile (String name) |
String | nextTmpFile () |
void | setNext (JobNode next) |
JobNode | getNext () |
String | getNextId () |
void | setRecover (JobNode next) |
JobNode | getRecover () |
String | getRecoverId () |
void | setSub (JobNode next) |
JobNode | getSub () |
String | getSubId () |
void | setJob (Job job) |
Job | setNullJob () |
Job | getJob () |
String | getJobId () |
void | setHead (JobNode head) |
void | Notify (Job notijob) |
void | Abort () |
void | Sleep () |
void | WakeUp () |
void | reanimate () throws DirectorException |
synchronized void | invoke () throws DirectorException |
Job | getBackChain () |
String | getBackChainId () |
void | setBackChain (String id) |
Public Member Functions inherited from sfi.director.jobs.Job | |
Job () | |
Job (String name) | |
Job (String name, String descr) | |
Job (DBObject db) | |
Job (DBObject db, boolean doregister) | |
void | addNotify (Notifiable n) |
void | addNotify (String id) |
void | delegateNotify (Job next) |
JobStatus | getStatus () |
void | setDescr (String descr) |
String | getDescr () |
void | setName (String name) |
String | getName () |
String | getId () |
long | getCreationTime () |
void | commit () throws ArgumentException |
void | setOption (String name, String content) |
void | setOption (String name) |
void | setServer (ServerConnection server) |
ServerConnection | getServer () |
void | setScheduleOption (String name) |
void | setScheduleOption (String name, String val) |
String | getScheduleOption (String name) |
DBObject | todb () |
DN | getDN () |
Vector | getLog () |
Vector | getMonitors () |
void | addMonitor (JobMonitor monitor) |
void | removeMonitor (JobMonitor monitor) |
void | finalize () |
JobNode | getHead () |
String | getHeadId () |
Protected Member Functions | |
void | setStatus (JobStatus status) |
Protected Member Functions inherited from sfi.director.jobs.Job | |
void | NotifyAll () |
void | setHeadId (String id) |
Additional Inherited Members | |
Static Public Member Functions inherited from sfi.director.jobs.Job | |
static Job | Job (DBObject dbo) throws DirectorException |
static Job | Job (DBObject dbo, boolean doregister) throws DirectorException |
sfi.director.jobs.JobNode.JobNode | ( | ) |
sfi.director.jobs.JobNode.JobNode | ( | String | name | ) |
sfi.director.jobs.JobNode.JobNode | ( | String | name, |
String | descr | ||
) |
sfi.director.jobs.JobNode.JobNode | ( | DBObject | dbo | ) |
sfi.director.jobs.JobNode.JobNode | ( | DBObject | dbo, |
boolean | doregister | ||
) |
sfi.director.jobs.JobNode.JobNode | ( | Job | job | ) |
void sfi.director.jobs.JobNode.Abort | ( | ) |
Reimplemented from sfi.director.jobs.Job.
References sfi.director.jobs.Job.Abort().
Referenced by sfi.director.jobs.JobNode.Notify().
void sfi.director.jobs.JobNode.addTmpFile | ( | String | name | ) |
Referenced by sfi.director.jobs.JobNode.nextTmpFile().
void sfi.director.jobs.JobNode.die | ( | ) |
Reimplemented from sfi.director.jobs.Job.
Job sfi.director.jobs.JobNode.getBackChain | ( | ) |
References sfi.director.util.Stub.getObject().
Referenced by sfi.director.jobs.JobNode.log().
String sfi.director.jobs.JobNode.getBackChainId | ( | ) |
References sfi.director.util.Stub.getId().
Referenced by sfi.director.jobs.JobNode.todb().
Job sfi.director.jobs.JobNode.getJob | ( | ) |
String sfi.director.jobs.JobNode.getJobId | ( | ) |
References sfi.director.util.Stub.getId().
JobNode sfi.director.jobs.JobNode.getNext | ( | ) |
String sfi.director.jobs.JobNode.getNextId | ( | ) |
References sfi.director.util.Stub.getId().
JobNode sfi.director.jobs.JobNode.getRecover | ( | ) |
String sfi.director.jobs.JobNode.getRecoverId | ( | ) |
References sfi.director.util.Stub.getId().
JobNode sfi.director.jobs.JobNode.getSub | ( | ) |
String sfi.director.jobs.JobNode.getSubId | ( | ) |
References sfi.director.util.Stub.getId().
synchronized void sfi.director.jobs.JobNode.invoke | ( | ) | throws DirectorException |
Reimplemented from sfi.director.jobs.Job.
References sfi.director.jobs.Job.getStatus(), sfi.director.jobs.JobNode.setStatus(), and sfi.director.jobs.JobStatus.wait.
void sfi.director.jobs.JobNode.log | ( | LogEntry | le | ) |
Reimplemented from sfi.director.jobs.Job.
References sfi.director.jobs.JobNode.getBackChain().
Referenced by sfi.director.jobs.Job.log(), sfi.director.schedule.ParallelScheduler.markHeads(), and sfi.director.jobs.JobNode.setStatus().
String sfi.director.jobs.JobNode.nextTmpFile | ( | ) |
References sfi.director.jobs.JobNode.addTmpFile(), sfi.director.jobs.Job.getId(), sfi.director.util.Setup.tmphost, and sfi.director.util.Setup.tmpstorage.
Referenced by sfi.director.application.scripttask.Report.create(), sfi.director.application.scripttask.ChainEvent.create(), sfi.director.application.scripttask.CollectSysinfo.create(), sfi.director.application.scripttask.RepositoryScan.create(), sfi.director.application.scripttask.DoAppInventory.create(), sfi.director.application.scripttask.CreateHome.create(), sfi.director.application.scripttask.FreezeApplication.create(), sfi.director.application.scripttask.DoAppImport.create(), sfi.director.application.scripttask.INFAppModules.create(), sfi.director.application.scripttask.InjectUserSettings.create(), sfi.director.application.scripttask.CupsDrivers.create(), sfi.director.application.scripttask.PublishApplication.create(), sfi.director.application.HostDefine.HostDefine(), sfi.director.application.scripttask.AppInstallHost.remoteMethod(), and sfi.director.repository.DirectoryServiceMerger.targetJob().
void sfi.director.jobs.JobNode.Notify | ( | Job | notijob | ) |
Reimplemented from sfi.director.jobs.Job.
References sfi.director.jobs.JobNode.Abort(), sfi.director.jobs.JobStatus.aborted, sfi.director.util.Tools.debug(), sfi.director.jobs.JobStatus.done, sfi.director.jobs.JobStatus.equals(), sfi.director.jobs.JobStatus.failed, sfi.director.jobs.Job.getId(), sfi.director.jobs.JobNode.getNext(), sfi.director.jobs.JobNode.getRecover(), sfi.director.jobs.Job.getStatus(), sfi.director.jobs.Job.setStatus(), sfi.director.jobs.JobNode.setStatus(), sfi.director.jobs.JobStatus.toString(), and sfi.director.jobs.JobNode.WakeUp().
void sfi.director.jobs.JobNode.reanimate | ( | ) | throws DirectorException |
Reimplemented from sfi.director.jobs.Job.
References sfi.director.jobs.Job.reanimate().
void sfi.director.jobs.JobNode.setBackChain | ( | String | id | ) |
void sfi.director.jobs.JobNode.setHead | ( | JobNode | head | ) |
Reimplemented from sfi.director.jobs.Job.
References sfi.director.jobs.Job.getHead(), sfi.director.jobs.JobNode.getJob(), sfi.director.jobs.JobNode.getNext(), sfi.director.jobs.JobNode.getRecover(), sfi.director.jobs.JobNode.getSub(), sfi.director.jobs.JobNode.setHead(), and sfi.director.jobs.Job.setHead().
Referenced by sfi.director.schedule.ParallelScheduler.markHeads(), and sfi.director.jobs.JobNode.setHead().
void sfi.director.jobs.JobNode.setJob | ( | Job | job | ) |
References sfi.director.jobs.Job.addNotify().
Referenced by sfi.director.application.scripttask.Report.create(), sfi.director.application.scripttask.EmulateRoot.create(), sfi.director.application.scripttask.WakeOnLan.create(), sfi.director.application.scripttask.ResolveDependencies.create(), sfi.director.application.scripttask.ReloadService.create(), sfi.director.application.scripttask.ChainEvent.create(), sfi.director.application.scripttask.CollectSysinfo.create(), sfi.director.application.scripttask.SetHostIP.create(), sfi.director.application.scripttask.StoreAsDBChoice.create(), sfi.director.application.scripttask.ConfigureNetwork.create(), sfi.director.application.scripttask.RepositoryScan.create(), sfi.director.application.scripttask.ZoneUpdated.create(), sfi.director.application.scripttask.DoAppInventory.create(), sfi.director.application.scripttask.Shell.create(), sfi.director.application.scripttask.CreateReleaseDir.create(), sfi.director.application.scripttask.CreateHome.create(), sfi.director.application.scripttask.ApplyDomainTemplate.create(), sfi.director.application.scripttask.SubscribeApps.create(), sfi.director.application.scripttask.D3HostDefine.create(), sfi.director.application.scripttask.BootStrapDirector.create(), sfi.director.application.scripttask.BuildDependingDomains.create(), sfi.director.application.scripttask.CreateHomeDB.create(), sfi.director.application.scripttask.FreezeApplication.create(), sfi.director.application.scripttask.SetServerPassword.create(), sfi.director.application.scripttask.DoAppImport.create(), sfi.director.application.scripttask.INFAppModules.create(), sfi.director.application.scripttask.InjectUserSettings.create(), sfi.director.application.scripttask.CupsDrivers.create(), sfi.director.application.scripttask.PublishApplication.create(), sfi.director.application.objevents.EventEnvironment.createWorkflow(), sfi.director.application.objevents.Workflow.flush(), sfi.director.application.HostPackages.forPkg(), sfi.director.application.HostDefine.HostDefine(), sfi.director.jobs.JobNode.JobNode(), sfi.director.application.FilePackageHandler.makeJob(), sfi.director.application.scripttask.AppInstallHost.remoteMethod(), sfi.director.jobs.JobNode.setNullJob(), and sfi.director.repository.DirectoryServiceMerger.targetJob().
void sfi.director.jobs.JobNode.setNext | ( | JobNode | next | ) |
Referenced by sfi.director.application.scripttask.CollectSysinfo.create(), sfi.director.application.scripttask.RepositoryScan.create(), sfi.director.application.scripttask.DoAppInventory.create(), sfi.director.application.scripttask.CreateHome.create(), sfi.director.application.scripttask.FreezeApplication.create(), sfi.director.application.scripttask.INFAppModules.create(), sfi.director.application.scripttask.DoAppImport.create(), sfi.director.application.scripttask.CupsDrivers.create(), sfi.director.application.scripttask.PublishApplication.create(), sfi.director.application.HostPackages.forPkg(), sfi.director.application.HostDefine.HostDefine(), sfi.director.application.scripttask.AppInstallHost.remoteMethod(), and sfi.director.repository.DirectoryServiceMerger.targetJob().
Job sfi.director.jobs.JobNode.setNullJob | ( | ) |
References sfi.director.jobs.JobNode.setJob().
void sfi.director.jobs.JobNode.setRecover | ( | JobNode | next | ) |
Referenced by sfi.director.application.HostPackages.forPkg().
|
protected |
Reimplemented from sfi.director.jobs.Job.
References sfi.director.jobs.Job.getHead(), sfi.director.jobs.Job.getStatus(), sfi.director.jobs.JobNode.log(), and sfi.director.util.Logger.NOTICE.
Referenced by sfi.director.jobs.JobNode.invoke(), and sfi.director.jobs.JobNode.Notify().
void sfi.director.jobs.JobNode.setSub | ( | JobNode | next | ) |
References sfi.director.jobs.Job.addNotify(), and sfi.director.jobs.JobNode.getNext().
Referenced by sfi.director.application.scripttask.CollectSysinfo.create(), sfi.director.application.scripttask.RepositoryScan.create(), sfi.director.application.scripttask.DoAppInventory.create(), sfi.director.application.scripttask.CreateHome.create(), sfi.director.application.scripttask.FreezeApplication.create(), sfi.director.application.scripttask.DoAppImport.create(), sfi.director.application.scripttask.INFAppModules.create(), sfi.director.application.scripttask.CupsDrivers.create(), sfi.director.application.scripttask.PublishApplication.create(), sfi.director.application.objevents.EventEnvironment.createWorkflow(), sfi.director.application.objevents.Workflow.flush(), sfi.director.application.HostPackages.forPkg(), sfi.director.application.HostDefine.HostDefine(), sfi.director.application.scripttask.AppInstallHost.remoteMethod(), and sfi.director.repository.DirectoryServiceMerger.targetJob().
void sfi.director.jobs.JobNode.Sleep | ( | ) |
Reimplemented from sfi.director.jobs.Job.
References sfi.director.jobs.Job.Sleep().
void sfi.director.jobs.JobNode.todb | ( | DBObject | dbo | ) |
Reimplemented from sfi.director.jobs.Job.
References sfi.director.jobs.JobNode.getBackChainId(), and sfi.director.util.Stub.getId().
void sfi.director.jobs.JobNode.WakeUp | ( | ) |
Reimplemented from sfi.director.jobs.Job.
References sfi.director.jobs.Job.WakeUp().
Referenced by sfi.director.application.FrontendInterface.executeCommand(), sfi.director.application.objevents.Workflow.flush(), and sfi.director.jobs.JobNode.Notify().