Node Director
|
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) |
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 | ||
) |
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 | ( | ) |
Referenced by sfi.director.invoker.MasterLoopbackInvoker.accept(), sfi.director.invoker.ShellLoopbackInvoker.accept(), sfi.director.invoker.LoopbackInvoker.accept(), sfi.director.invoker.SSLInvoker.connect(), sfi.director.invoker.RSHInvoker.connect(), sfi.director.schedule.ParallelScheduler.getStatus(), sfi.director.invoker.StreamConnection.masterlistener(), and sfi.director.invoker.StreamConnection.Server().
String sfi.director.jobs.RemoteJob.getInputFile | ( | ) |
Referenced by sfi.director.executor.CmdExecutor.connect(), sfi.director.application.scripttask.AppInstallHost.createPackage(), sfi.director.application.executor.DSMerger.exec(), sfi.director.application.executor.appInventoryPush.exec(), sfi.director.application.executor.scanRepositoryPush.exec(), sfi.director.application.scripttask.StoreAsDBChoice.exec(), sfi.director.application.executor.InstallFromArchive.exec(), sfi.director.application.executor.InstallFromZIP.exec(), sfi.director.application.scripttask.InjectUserSettings.exec(), sfi.director.application.scripttask.FreezeApplication.exec(), sfi.director.invoker.Recorder.executeJob(), sfi.director.invoker.StreamConnection.masterlistener(), sfi.director.application.scripttask.CollectSysinfo.push(), sfi.director.application.scripttask.AppInstallHost.pushScheduled(), and sfi.director.invoker.Recorder.record().
InputStream sfi.director.jobs.RemoteJob.getInputStream | ( | ) | throws DirectorException |
References sfi.director.retriever.RemoteFile.connectRetrieve(), and sfi.director.retriever.RetrieverManager.getConnection().
Referenced by sfi.director.application.scripttask.Report.exec(), sfi.director.application.scripttask.ChainEvent.exec(), and sfi.director.application.scripttask.ConfigHost.restore().
String sfi.director.jobs.RemoteJob.getMethod | ( | ) |
String sfi.director.jobs.RemoteJob.getOutputFile | ( | ) |
Referenced by sfi.director.executor.CmdExecutor.connect(), sfi.director.application.scripttask.AppInstallHost.createPackage(), sfi.director.application.executor.ZIPit.exec(), sfi.director.application.executor.ArchiveIt.exec(), sfi.director.application.executor.appInventory.exec(), sfi.director.application.scripttask.PublishApplication.exec(), sfi.director.invoker.Recorder.executeJob(), sfi.director.application.scripttask.CollectSysinfo.fetch(), and sfi.director.invoker.StreamConnection.masterlistener().
OutputStream sfi.director.jobs.RemoteJob.getOutputStream | ( | ) | throws DirectorException |
synchronized void sfi.director.jobs.RemoteJob.invoke | ( | ) | throws DirectorException |
Reimplemented from sfi.director.jobs.Job.
References sfi.director.jobs.JobStatus.done, sfi.director.jobs.JobStatus.equals(), sfi.director.jobs.JobStatus.failed, sfi.director.jobs.Job.getStatus(), sfi.director.invoker.InvokerManager.invoke(), sfi.director.util.DirectorException.isRetryable(), sfi.director.jobs.JobStatus.runnable, sfi.director.jobs.JobStatus.running, and sfi.director.jobs.Job.setStatus().
Referenced by sfi.director.invoker.StreamConnection.agentlistener(), and sfi.director.invoker.Recorder.executeJob().
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 | ) |
set arguments from Options
References sfi.director.util.Options.getOption(), and sfi.director.jobs.RemoteJob.setArgument().
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 | ) |
Referenced by sfi.director.application.scripttask.Report.create(), sfi.director.application.scripttask.ChainEvent.create(), sfi.director.application.scripttask.CollectSysinfo.create(), sfi.director.application.scripttask.StoreAsDBChoice.create(), sfi.director.application.scripttask.RepositoryScan.create(), sfi.director.application.scripttask.DoAppInventory.create(), sfi.director.application.scripttask.Shell.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.PublishApplication.create(), sfi.director.invoker.Recorder.executeJob(), sfi.director.application.HostDefine.HostDefine(), sfi.director.application.FilePackageHandler.makeJob(), sfi.director.invoker.Recorder.record(), sfi.director.application.scripttask.AppInstallHost.remoteMethod(), and sfi.director.repository.DirectoryServiceMerger.targetJob().
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 | ) |
Referenced by sfi.director.application.scripttask.CollectSysinfo.create(), sfi.director.application.scripttask.RepositoryScan.create(), sfi.director.application.scripttask.Shell.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.invoker.Recorder.executeJob(), sfi.director.application.HostDefine.HostDefine(), and sfi.director.application.scripttask.AppInstallHost.remoteMethod().
void sfi.director.jobs.RemoteJob.todb | ( | DBObject | db | ) |
Reimplemented from sfi.director.jobs.Job.
Referenced by sfi.director.invoker.StreamConnection.master(), and sfi.director.invoker.Recorder.record().