Node Director
|
Given a host configures network settings on this host. More...
Public Member Functions | |
JobNode | create (EventEnvironment ev) throws DirectorException |
given an EventEnvironment create a Workflow (JobNode) doing whatever this ScriptTask is intended for | |
void | setJob (RemoteJob job) |
void | exec () throws DirectorException |
Static Public Attributes | |
static final int | wolPort = 9 |
Given a host configures network settings on this host.
JobNode sfi.director.application.scripttask.WakeOnLan.create | ( | EventEnvironment | ev | ) | throws DirectorException |
given an EventEnvironment create a Workflow (JobNode) doing whatever this ScriptTask is intended for
DirectorException | class refuses to be responsible for this event |
ev | the environment of the event that lead to calling create() |
Implements sfi.director.application.ScriptTask.
References sfi.director.jobs.RemoteJob.commit(), sfi.director.jobs.Job.commit(), sfi.director.util.Tools.debug(), sfi.director.repository.DBObject.getAttribute(), sfi.director.repository.DBObject.getEValue(), sfi.director.util.Options.getOptions(), sfi.director.repository.DBObject.getValue(), sfi.director.repository.DBObject.isMember(), sfi.director.util.Setup.localjobqueue, sfi.director.util.Setup.masterhost, sfi.director.jobs.RemoteJob.setArgument(), sfi.director.jobs.RemoteJob.setHost(), sfi.director.jobs.JobNode.setJob(), sfi.director.jobs.RemoteJob.setMethod(), and sfi.director.util.Options.setOption().
void sfi.director.application.scripttask.WakeOnLan.exec | ( | ) | throws DirectorException |
Implements sfi.director.executor.GenericConnection.
References sfi.director.jobs.RemoteJob.argumentsAsOptions(), sfi.director.util.Options.getOption(), sfi.director.util.Logger.INFO, sfi.director.util.Tools.log(), sfi.director.util.Logger.NOTICE, and sfi.director.application.scripttask.WakeOnLan.wolPort.
void sfi.director.application.scripttask.WakeOnLan.setJob | ( | RemoteJob | job | ) |
Implements sfi.director.executor.GenericConnection.
|
static |
Referenced by sfi.director.application.scripttask.WakeOnLan.exec().