sfi.director.application.scripttask.ApplyDomainTemplate Class Reference

Inheritance diagram for sfi.director.application.scripttask.ApplyDomainTemplate:

sfi.director.application.ScriptTask sfi.director.executor.GenericConnection sfi.director.util.Connection List of all members.

Detailed Description

Given a domain builder record, slurps the matching template into the database.


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 Vector readTemplate (String templateName, Vector settings) throws DirectorException
 translate a "sfisettings" Vector into a settings DBObject and read a template using readTemlate( String, DBObject ).
static Vector readTemplate (String templateName, DBObject settings) throws DirectorException
 read a template, fill in the configuration from settings and return a Vector of DBObjects.
static Vector readTemplate (File templateFile, DBObject settings) throws DirectorException
 translate a "sfisettings" Vector into a settings DBObject and read a template using readTemlate( String, DBObject ).


Member Function Documentation

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

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

Exceptions:
DirectorException class refuses to be responsible for this event
Parameters:
ev the environment of the event that lead to calling create()
Returns:
a workflow (null ok)

Implements sfi.director.application.ScriptTask.

void sfi.director.application.scripttask.ApplyDomainTemplate.exec  )  throws DirectorException
 

Implements sfi.director.executor.GenericConnection.

static Vector sfi.director.application.scripttask.ApplyDomainTemplate.readTemplate File  templateFile,
DBObject  settings
throws DirectorException [static]
 

translate a "sfisettings" Vector into a settings DBObject and read a template using readTemlate( String, DBObject ).

static Vector sfi.director.application.scripttask.ApplyDomainTemplate.readTemplate String  templateName,
DBObject  settings
throws DirectorException [static]
 

read a template, fill in the configuration from settings and return a Vector of DBObjects.

static Vector sfi.director.application.scripttask.ApplyDomainTemplate.readTemplate String  templateName,
Vector  settings
throws DirectorException [static]
 

translate a "sfisettings" Vector into a settings DBObject and read a template using readTemlate( String, DBObject ).

void sfi.director.application.scripttask.ApplyDomainTemplate.setJob RemoteJob  job  ) 
 

Implements sfi.director.executor.GenericConnection.


The documentation for this class was generated from the following file:
Generated on Sat Feb 11 01:20:16 2012 for Node Director by  doxygen 1.4.5