| Constructor and Description |
|---|
FlowOut(OutputDescription description)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(Source<T> source)
Adds an upstream source to this flow output.
|
OutputDescription |
getDescription()
Returns the description of this output.
|
FlowElement |
getFlowElement()
Returns the corresponding
FlowElement object. |
static <T> FlowOut<T> |
newInstance(OutputDescription description)
Creates a new instance.
|
FlowElementInput |
toInputPort()
Returns the internal port representation of this flow output.
|
String |
toString() |
public FlowOut(OutputDescription description)
description - the descriptionIllegalArgumentException - if the parameter is nullpublic static <T> FlowOut<T> newInstance(OutputDescription description)
T - the data typedescription - the descriptionIllegalArgumentException - if the parameter is nullpublic OutputDescription getDescription()
public FlowElement getFlowElement()
FlowElement object.FlowElement objectpublic void add(Source<T> source)
Outpublic FlowElementInput toInputPort()
OuttoInputPort in interface Out<T>Copyright © 2011–2018 Asakusa Framework Team. All rights reserved.