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

Temporarily add system root user to the people database and remove it after a few secs. More...

Inheritance diagram for sfi.director.application.scripttask.EmulateRoot:
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

Static Public Member Functions

static DBObject sysRoot () throws DirectorException

Detailed Description

Temporarily add system root user to the people database and remove it after a few secs.

Member Function Documentation

JobNode sfi.director.application.scripttask.EmulateRoot.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.util.Setup.localjobqueue, sfi.director.util.Setup.masterhost, sfi.director.jobs.RemoteJob.setHost(), sfi.director.jobs.JobNode.setJob(), and sfi.director.jobs.RemoteJob.setMethod().

void sfi.director.application.scripttask.EmulateRoot.exec ( ) throws DirectorException
void sfi.director.application.scripttask.EmulateRoot.setJob ( RemoteJob  job)
static DBObject sfi.director.application.scripttask.EmulateRoot.sysRoot ( ) throws DirectorException
static

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