|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.rhi.architecture.parc.ProcessSet
The ProcessSet is a group of processes that are run serially. It is an implementation of the composite element of GOF Composite pattern.
Field Summary |
Fields inherited from interface com.rhi.architecture.parc.Process |
NAME, SEPARATOR, TYPE |
Constructor Summary | |
ProcessSet()
Constructor |
Method Summary | |
void |
add(Process p)
Add a new process to the set. |
void |
cleanup()
Perform any cleanup required. |
java.lang.String |
getName()
getName returns the configured name for this process. |
void |
init(java.util.Properties props)
The ProcessSet is initialized by loading all Process definitions immediately under this ProcessSet definition. |
void |
run()
Run each Process w/in the set serially in the order they were added. |
void |
setName(java.lang.String name)
setName is called by the framework to provide the correct process name. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ProcessSet()
Method Detail |
public void init(java.util.Properties props) throws InitializationException
init
in interface Process
props
-
InitializationException
public void run() throws ProcessingException
run
in interface Process
ProcessingException
public void add(Process p)
p
- public void cleanup()
cleanup
in interface Process
public java.lang.String getName()
getName
in interface Process
public void setName(java.lang.String name)
setName
in interface Process
name
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |