|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Workflow
The common interface for elements of a workflow composition. This is an example of the Composite design pattern.
| Method Summary | |
|---|---|
void |
accept(WorkflowVisitor visitor)
Accepts a visitor and calls the appropriate visit method for the concrete class. |
void |
addChild(Workflow child)
Adds a new child to the component. |
boolean |
allowsChildren()
Indicates whether or not the workflow element allows children. |
java.util.List |
getChildren()
Gets a list of the children of this request component. |
java.lang.String |
getInstanceName()
Gets the name string that uniquely identifies the request component within the scope of the request. |
void |
removeChild(Workflow child)
Removes a child from the component. |
| Method Detail |
|---|
java.lang.String getInstanceName()
void addChild(Workflow child)
child - child request componentjava.util.List getChildren()
void removeChild(Workflow child)
child - child request componentboolean allowsChildren()
true if children are allowed, false
otherwise
void accept(WorkflowVisitor visitor)
throws VisitorException
visitor - visitor to accept and all a method on.
VisitorException - if the visitor throws an exception. The recommended pattern is
that the visitor provides a method that takes the
VisitorException and throws exceptions applicable to the
operation being performed by the visitor.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||