|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| 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 Processprops -
InitializationException
public void run()
throws ProcessingException
run in interface ProcessProcessingExceptionpublic void add(Process p)
p - public void cleanup()
cleanup in interface Processpublic java.lang.String getName()
getName in interface Processpublic void setName(java.lang.String name)
setName in interface Processname -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||