public interface FlowElement<COMPONENT>
FlowElements wrap components, providing them with a context specific name. They also
define any transitions from this point in flow, this is a mapping of the various potential results that a
component may return to subsequent (downstream) FlowElements| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_TRANSITION_NAME
Name of the default transition for components that have a unique result
|
| Modifier and Type | Method and Description |
|---|---|
String |
getComponentName()
Accessor for the componentName.
|
String |
getDescription()
Returns a human readable description of this FlowElement
|
COMPONENT |
getFlowComponent()
Accessor for the wrapped component.
|
FlowElementInvoker |
getFlowElementInvoker()
Getter for the flow element invoker.
|
FlowElement |
getTransition(String transitionName)
Retrieves the subsequent FlowElement (if any) representing the next node in the flow
|
Map<String,FlowElement> |
getTransitions()
Retrieves a Map of all this FlowElement's transitions
|
void |
setFlowElementInvoker(FlowElementInvoker<COMPONENT> flowElementInvoker)
Setter for the flow element invoker.
|
static final String DEFAULT_TRANSITION_NAME
COMPONENT getFlowComponent()
String getComponentName()
FlowElementFlowElement getTransition(String transitionName)
transitionName - - this value should be a member of the set of possible results returnable from the wrapped
componentMap<String,FlowElement> getTransitions()
String getDescription()
FlowElementInvoker getFlowElementInvoker()
void setFlowElementInvoker(FlowElementInvoker<COMPONENT> flowElementInvoker)
flowElementInvoker - Copyright © 2007-2016 Ikasan. All Rights Reserved.