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

Public Member Functions

 RemoteJob ()
 RemoteJob (String name)
 RemoteJob (String name, String descr)
 RemoteJob (DBObject db)
 RemoteJob (DBObject db, boolean doregister)
void todb (DBObject db)
void setHost (String host)
String getHost ()
void setInputFile (String file)
String getInputFile ()
InputStream getInputStream () throws DirectorException
void setOutputFile (String file)
String getOutputFile ()
OutputStream getOutputStream () throws DirectorException
void setMethod (String method)
String getMethod ()
void setArgument (String name, String contents)
void setArgument (Options opts)
 set arguments from Options
Options argumentsAsOptions ()
 returns arguments as options
String getArgument (String name)
Enumeration getArguments ()
 returns an enumeration of all the argument names.
void commit () throws ArgumentException
synchronized void invoke () throws DirectorException
- 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 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 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 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 ()

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
- Protected Member Functions inherited from sfi.director.jobs.Job
void NotifyAll ()
void setStatus (JobStatus status)
void setHeadId (String id)

Constructor & Destructor Documentation

sfi.director.jobs.RemoteJob.RemoteJob ( )
sfi.director.jobs.RemoteJob.RemoteJob ( String  name)
sfi.director.jobs.RemoteJob.RemoteJob ( String  name,
String  descr 
)
sfi.director.jobs.RemoteJob.RemoteJob ( DBObject  db)
sfi.director.jobs.RemoteJob.RemoteJob ( DBObject  db,
boolean  doregister 
)

Member Function Documentation

Options sfi.director.jobs.RemoteJob.argumentsAsOptions ( )
void sfi.director.jobs.RemoteJob.commit ( ) throws ArgumentException

Reimplemented from sfi.director.jobs.Job.

References sfi.director.jobs.Job.setStatus(), 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.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.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.SetServerPassword.create(), sfi.director.application.scripttask.FreezeApplication.create(), sfi.director.application.scripttask.InjectUserSettings.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.HostDefine.HostDefine(), sfi.director.application.FilePackageHandler.makeJob(), sfi.director.application.scripttask.AppInstallHost.remoteMethod(), and sfi.director.repository.DirectoryServiceMerger.targetJob().

String sfi.director.jobs.RemoteJob.getArgument ( String  name)

Referenced by sfi.director.executor.CmdExecutor.accept(), sfi.director.executor.CmdExecutor.connect(), sfi.director.application.executor.ZIPit.exec(), sfi.director.application.executor.ArchiveIt.exec(), sfi.director.application.scripttask.ResolveDependencies.exec(), sfi.director.application.executor.appInventoryPush.exec(), sfi.director.application.executor.scanRepositoryPush.exec(), sfi.director.application.scripttask.ChainEvent.exec(), sfi.director.application.scripttask.ApplyDomainTemplate.exec(), sfi.director.application.scripttask.ZoneUpdated.exec(), sfi.director.application.scripttask.SubscribeApps.exec(), sfi.director.application.executor.InstallFromArchive.exec(), sfi.director.application.scripttask.StoreAsDBChoice.exec(), sfi.director.application.scripttask.ReloadService.exec(), sfi.director.application.scripttask.CreateReleaseDir.exec(), sfi.director.application.scripttask.BuildDependingDomains.exec(), sfi.director.application.scripttask.D3HostDefine.exec(), sfi.director.application.scripttask.SetServerPassword.exec(), sfi.director.application.scripttask.BootStrapDirector.exec(), sfi.director.application.scripttask.CollectSysinfo.exec(), sfi.director.application.scripttask.CreateHomeDB.exec(), sfi.director.application.scripttask.INFAppModules.exec(), sfi.director.application.scripttask.DoAppImport.exec(), sfi.director.application.executor.InstallFromZIP.exec(), sfi.director.application.scripttask.InjectUserSettings.exec(), sfi.director.application.scripttask.CupsDrivers.exec(), sfi.director.application.scripttask.PublishApplication.exec(), sfi.director.application.scripttask.AppInstallHost.exec(), sfi.director.application.scripttask.ConfigHost.exec(), sfi.director.application.executor.InstallFromZIP.is(), sfi.director.application.scripttask.AppInstallHost.pushScheduled(), sfi.director.application.scripttask.ConfigHost.restore(), sfi.director.application.scripttask.ConfigHost.save(), and sfi.director.application.executor.InstallFromZIP.setPerms().

Enumeration sfi.director.jobs.RemoteJob.getArguments ( )

returns an enumeration of all the argument names.

Referenced by sfi.director.application.scripttask.ConfigHost.restore().

String sfi.director.jobs.RemoteJob.getHost ( )
String sfi.director.jobs.RemoteJob.getInputFile ( )
InputStream sfi.director.jobs.RemoteJob.getInputStream ( ) throws DirectorException
String sfi.director.jobs.RemoteJob.getMethod ( )
String sfi.director.jobs.RemoteJob.getOutputFile ( )
OutputStream sfi.director.jobs.RemoteJob.getOutputStream ( ) throws DirectorException
synchronized void sfi.director.jobs.RemoteJob.invoke ( ) throws DirectorException
void sfi.director.jobs.RemoteJob.setArgument ( String  name,
String  contents 
)

Referenced by 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.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.SetServerPassword.create(), sfi.director.application.scripttask.FreezeApplication.create(), sfi.director.application.scripttask.DoAppImport.create(), sfi.director.application.scripttask.InjectUserSettings.create(), sfi.director.application.scripttask.INFAppModules.create(), sfi.director.application.scripttask.CupsDrivers.create(), sfi.director.application.scripttask.PublishApplication.create(), sfi.director.application.HostDefine.HostDefine(), sfi.director.application.FilePackageHandler.makeJob(), sfi.director.jobs.RemoteJob.RemoteJob(), sfi.director.application.scripttask.AppInstallHost.remoteMethod(), sfi.director.jobs.RemoteJob.setArgument(), and sfi.director.application.FilePackageHandler.setupJob().

void sfi.director.jobs.RemoteJob.setArgument ( Options  opts)
void sfi.director.jobs.RemoteJob.setHost ( String  host)

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.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.InjectUserSettings.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.invoker.Recorder.executeJob(), sfi.director.application.HostDefine.HostDefine(), sfi.director.application.FilePackageHandler.makeJob(), sfi.director.application.scripttask.AppInstallHost.remoteMethod(), and sfi.director.repository.DirectoryServiceMerger.targetJob().

void sfi.director.jobs.RemoteJob.setInputFile ( String  file)
void sfi.director.jobs.RemoteJob.setMethod ( String  method)

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.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.SetServerPassword.create(), sfi.director.application.scripttask.FreezeApplication.create(), sfi.director.application.scripttask.InjectUserSettings.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.HostDefine.HostDefine(), sfi.director.application.FilePackageHandler.makeJob(), sfi.director.application.scripttask.AppInstallHost.remoteMethod(), and sfi.director.repository.DirectoryServiceMerger.targetJob().

void sfi.director.jobs.RemoteJob.setOutputFile ( String  file)
void sfi.director.jobs.RemoteJob.todb ( DBObject  db)

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