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 null
public static <T> FlowOut<T> newInstance(OutputDescription description)
T
- the data typedescription
- the descriptionIllegalArgumentException
- if the parameter is null
public OutputDescription getDescription()
public FlowElement getFlowElement()
FlowElement
object.FlowElement
objectpublic void add(Source<T> source)
Out
public FlowElementInput toInputPort()
Out
toInputPort
in interface Out<T>
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.