|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ikasan.framework.flow.FlowElementImpl
public class FlowElementImpl
Simple implementation of FlowElement
| Field Summary |
|---|
| Fields inherited from interface org.ikasan.framework.flow.FlowElement |
|---|
DEFAULT_TRANSITION_NAME |
| Constructor Summary | |
|---|---|
FlowElementImpl(String componentName,
FlowComponent flowComponent)
Overloaded constructor for a FlowElement with no downstream |
|
FlowElementImpl(String componentName,
FlowComponent flowComponent,
FlowElement defaultTransition)
Overloaded constructor for when there is at most one subsequent FlowElement |
|
FlowElementImpl(String componentName,
FlowComponent flowComponent,
Map<String,FlowElement> transitions)
Constructor for when there are more than one subsequent FlowElements |
|
| Method Summary | |
|---|---|
String |
getComponentName()
Accessor for the componentName. |
String |
getDescription()
Returns a human readable description of this FlowElement |
FlowComponent |
getFlowComponent()
Accessor for the wrapped FlowComponent |
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 |
setDescription(String description)
Setter for description |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FlowElementImpl(String componentName,
FlowComponent flowComponent,
Map<String,FlowElement> transitions)
FlowElements
componentName - The name of the componentflowComponent - The FlowComponenttransitions - A map of transitions
public FlowElementImpl(String componentName,
FlowComponent flowComponent,
FlowElement defaultTransition)
FlowElement
componentName - The name of the componentflowComponent - The FlowComponentdefaultTransition - The default transition
public FlowElementImpl(String componentName,
FlowComponent flowComponent)
FlowElement with no downstream
componentName - The name of the componentflowComponent - The FlowComponent| Method Detail |
|---|
public FlowComponent getFlowComponent()
FlowElementFlowComponent
getFlowComponent in interface FlowElementpublic String getComponentName()
FlowElementFlowElement
getComponentName in interface FlowElementpublic FlowElement getTransition(String transitionName)
FlowElement
getTransition in interface FlowElementtransitionName - - this value should be a member of the set of possible results returnable from the wrapped
flowComponent
public String getDescription()
FlowElement
getDescription in interface FlowElementpublic void setDescription(String description)
description - public String toString()
toString in class Objectpublic Map<String,FlowElement> getTransitions()
FlowElement
getTransitions in interface FlowElement
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||