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

implementing some higher level functionality set on top of EventEnvironment. More...

Public Member Functions

 Workflow ()
 Workflow (boolean inQueue)
 Workflow (String description)
 Workflow (String description, String name)
 Workflow (String description, String name, boolean inQueue)
void finalize ()
void setInQueue (boolean queue)
void dispose ()
void setDescr (String name)
void setName (String name)
synchronized void flush () throws DirectorException
synchronized void addJob (Job job)
synchronized void addHead (JobNode job)
synchronized void addWorkflow (Workflow wf)
synchronized void doEvent (EventEnvironment env, String type) throws DirectorException
void doEvent (DBObject dbo, final DBConnection dir, final Record data, final String type) throws DirectorException
void doEvent (DBObject dbo, final DBConnection dir, final Record data, final String type, boolean warnIfNotApplicable) throws DirectorException
void doEvent (Enumeration< DBObject > dbos, Enumeration< DBConnection > dirs, Enumeration< Record > data, final String type, boolean warnIfNotApplicable) throws DirectorException
 Execute an event for a given database entry and the given corresponding object editor data.
void setMonitorOptions (String name)
void setMonitorOptions (String name, String contents)
void openMonitor () throws DirectorException
LogEntry watch () throws DirectorException
JobStatus getStatus ()
void closeMonitor ()
String getId ()
void setId (String id)
JobNode getMaster ()
void setBackChain (Job job)
void setBackChain (String jobid)

Detailed Description

implementing some higher level functionality set on top of EventEnvironment.

Basically you use doEvent() for stacking up jobs and flush() for passing a job stack to the Scheduler.

Constructor & Destructor Documentation

sfi.director.application.objevents.Workflow.Workflow ( )
sfi.director.application.objevents.Workflow.Workflow ( boolean  inQueue)
sfi.director.application.objevents.Workflow.Workflow ( String  description)
sfi.director.application.objevents.Workflow.Workflow ( String  description,
String  name 
)
sfi.director.application.objevents.Workflow.Workflow ( String  description,
String  name,
boolean  inQueue 
)

Member Function Documentation

synchronized void sfi.director.application.objevents.Workflow.addHead ( JobNode  job)
synchronized void sfi.director.application.objevents.Workflow.addJob ( Job  job)
synchronized void sfi.director.application.objevents.Workflow.addWorkflow ( Workflow  wf)
void sfi.director.application.objevents.Workflow.closeMonitor ( )
void sfi.director.application.objevents.Workflow.dispose ( )
synchronized void sfi.director.application.objevents.Workflow.doEvent ( EventEnvironment  env,
String  type 
) throws DirectorException
void sfi.director.application.objevents.Workflow.doEvent ( DBObject  dbo,
final DBConnection  dir,
final Record  data,
final String  type 
) throws DirectorException
void sfi.director.application.objevents.Workflow.doEvent ( DBObject  dbo,
final DBConnection  dir,
final Record  data,
final String  type,
boolean  warnIfNotApplicable 
) throws DirectorException
void sfi.director.application.objevents.Workflow.doEvent ( Enumeration< DBObject dbos,
Enumeration< DBConnection dirs,
Enumeration< Record data,
final String  type,
boolean  warnIfNotApplicable 
) throws DirectorException
void sfi.director.application.objevents.Workflow.finalize ( )
synchronized void sfi.director.application.objevents.Workflow.flush ( ) throws DirectorException
String sfi.director.application.objevents.Workflow.getId ( )
JobNode sfi.director.application.objevents.Workflow.getMaster ( )
JobStatus sfi.director.application.objevents.Workflow.getStatus ( )
void sfi.director.application.objevents.Workflow.openMonitor ( ) throws DirectorException
void sfi.director.application.objevents.Workflow.setBackChain ( Job  job)
void sfi.director.application.objevents.Workflow.setBackChain ( String  jobid)
void sfi.director.application.objevents.Workflow.setDescr ( String  name)
void sfi.director.application.objevents.Workflow.setId ( String  id)
void sfi.director.application.objevents.Workflow.setInQueue ( boolean  queue)
void sfi.director.application.objevents.Workflow.setMonitorOptions ( String  name)
void sfi.director.application.objevents.Workflow.setMonitorOptions ( String  name,
String  contents 
)
void sfi.director.application.objevents.Workflow.setName ( String  name)
LogEntry sfi.director.application.objevents.Workflow.watch ( ) throws DirectorException

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