Node Director
Public Member Functions | List of all members
sfi.director.application.scripttask.SubscribeApps Class Reference

Subscribe a host to all applications which are already installed on the host but the host is not subscribed to yet. More...

Inheritance diagram for sfi.director.application.scripttask.SubscribeApps:
sfi.director.application.ScriptTask sfi.director.executor.GenericConnection sfi.director.util.Connection

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

Detailed Description

Subscribe a host to all applications which are already installed on the host but the host is not subscribed to yet.

Member Function Documentation

JobNode sfi.director.application.scripttask.SubscribeApps.create ( EventEnvironment  ev) throws DirectorException

given an EventEnvironment create a Workflow (JobNode) doing whatever this ScriptTask is intended for

Exceptions
DirectorExceptionclass refuses to be responsible for this event
Parameters
evthe environment of the event that lead to calling create()
Returns
a workflow (null ok)

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.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(), and sfi.director.jobs.RemoteJob.setMethod().

void sfi.director.application.scripttask.SubscribeApps.exec ( ) throws DirectorException
void sfi.director.application.scripttask.SubscribeApps.setJob ( RemoteJob  job)

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