Node Director
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
sfi.director.jobs.Job Class Reference
Inheritance diagram for sfi.director.jobs.Job:
sfi.director.repository.DBFiable sfi.director.util.Identifiable sfi.director.jobs.Notifiable sfi.director.util.Identifiable sfi.director.jobs.JobNode sfi.director.jobs.NullJob sfi.director.jobs.RemoteJob sfi.director.jobs.CatchAllLogsJob

Public Member Functions

 Job ()
 Job (String name)
 Job (String name, String descr)
 Job (DBObject db)
 Job (DBObject db, boolean doregister)
void Notify (Job j)
void addNotify (Notifiable n)
void addNotify (String id)
void delegateNotify (Job next)
JobStatus getStatus ()
void die ()
void setDescr (String descr)
String getDescr ()
void setName (String name)
String getName ()
String getId ()
long getCreationTime ()
void Abort ()
void Sleep ()
void WakeUp ()
void reanimate () throws DirectorException
void commit () throws ArgumentException
void invoke () throws DirectorException
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 ()
void todb (DBObject dbo)
void log (LogEntry le)
Vector getLog ()
Vector getMonitors ()
void addMonitor (JobMonitor monitor)
void removeMonitor (JobMonitor monitor)
void finalize ()
void setHead (JobNode head)
JobNode getHead ()
String getHeadId ()

Static Public Member Functions

static Job Job (DBObject dbo) throws DirectorException
static Job Job (DBObject dbo, boolean doregister) throws DirectorException

Protected Member Functions

void NotifyAll ()
void setStatus (JobStatus status)
void setHeadId (String id)

Constructor & Destructor Documentation

static Job sfi.director.jobs.Job.Job ( DBObject  dbo) throws DirectorException
static
static Job sfi.director.jobs.Job.Job ( DBObject  dbo,
boolean  doregister 
) throws DirectorException
static
sfi.director.jobs.Job.Job ( )
sfi.director.jobs.Job.Job ( String  name)
sfi.director.jobs.Job.Job ( String  name,
String  descr 
)
sfi.director.jobs.Job.Job ( DBObject  db)
sfi.director.jobs.Job.Job ( DBObject  db,
boolean  doregister 
)

Member Function Documentation

void sfi.director.jobs.Job.Abort ( )
void sfi.director.jobs.Job.addMonitor ( JobMonitor  monitor)
void sfi.director.jobs.Job.addNotify ( Notifiable  n)
void sfi.director.jobs.Job.addNotify ( String  id)
void sfi.director.jobs.Job.commit ( ) throws ArgumentException

Reimplemented in sfi.director.jobs.RemoteJob.

References sfi.director.jobs.JobStatus.equals(), sfi.director.jobs.Job.setStatus(), sfi.director.jobs.JobStatus.setup, and sfi.director.jobs.JobStatus.wait.

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.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.Shell.create(), sfi.director.application.scripttask.CreateHome.create(), sfi.director.application.scripttask.CreateReleaseDir.create(), sfi.director.application.scripttask.ApplyDomainTemplate.create(), sfi.director.application.scripttask.D3HostDefine.create(), sfi.director.application.scripttask.SubscribeApps.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.INFAppModules.create(), sfi.director.application.scripttask.InjectUserSettings.create(), sfi.director.application.scripttask.DoAppImport.create(), sfi.director.application.scripttask.CupsDrivers.create(), sfi.director.application.scripttask.ConfigHost.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.FilePackageHandler.makeJob(), sfi.director.application.scripttask.AppInstallHost.remoteMethod(), and sfi.director.repository.DirectoryServiceMerger.targetJob().

void sfi.director.jobs.Job.delegateNotify ( Job  next)
void sfi.director.jobs.Job.die ( )
void sfi.director.jobs.Job.finalize ( )
long sfi.director.jobs.Job.getCreationTime ( )
String sfi.director.jobs.Job.getDescr ( )
DN sfi.director.jobs.Job.getDN ( )
JobNode sfi.director.jobs.Job.getHead ( )
String sfi.director.jobs.Job.getHeadId ( )
String sfi.director.jobs.Job.getId ( )
Vector sfi.director.jobs.Job.getLog ( )
Vector sfi.director.jobs.Job.getMonitors ( )
String sfi.director.jobs.Job.getName ( )
String sfi.director.jobs.Job.getScheduleOption ( String  name)
ServerConnection sfi.director.jobs.Job.getServer ( )
JobStatus sfi.director.jobs.Job.getStatus ( )
void sfi.director.jobs.Job.invoke ( ) throws DirectorException
void sfi.director.jobs.Job.log ( LogEntry  le)
void sfi.director.jobs.Job.Notify ( Job  j)
void sfi.director.jobs.Job.NotifyAll ( )
protected
void sfi.director.jobs.Job.reanimate ( ) throws DirectorException
void sfi.director.jobs.Job.removeMonitor ( JobMonitor  monitor)
void sfi.director.jobs.Job.setDescr ( String  descr)
void sfi.director.jobs.Job.setHead ( JobNode  head)
void sfi.director.jobs.Job.setHeadId ( String  id)
protected
void sfi.director.jobs.Job.setName ( String  name)
void sfi.director.jobs.Job.setOption ( String  name,
String  content 
)
void sfi.director.jobs.Job.setOption ( String  name)
void sfi.director.jobs.Job.setScheduleOption ( String  name)
void sfi.director.jobs.Job.setScheduleOption ( String  name,
String  val 
)
void sfi.director.jobs.Job.setServer ( ServerConnection  server)
void sfi.director.jobs.Job.setStatus ( JobStatus  status)
protected
void sfi.director.jobs.Job.Sleep ( )
DBObject sfi.director.jobs.Job.todb ( )
void sfi.director.jobs.Job.todb ( DBObject  dbo)
void sfi.director.jobs.Job.WakeUp ( )

The documentation for this class was generated from the following file: