| Constructor and Description |
|---|
MockOut(Class<T> type,
String name)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(Source<T> source)
Adds an upstream source to this flow output.
|
static <T> MockOut<T> |
of(Class<T> type,
String name)
Creates a new instance.
|
FlowElement |
toElement()
Returns the
FlowElement representation of this object. |
FlowElementInput |
toInputPort()
Returns the internal port representation of this flow output.
|
public static <T> MockOut<T> of(Class<T> type, String name)
T - the data typetype - the output typename - the output namepublic void add(Source<T> source)
Outpublic FlowElement toElement()
FlowElement representation of this object.FlowElement representationpublic FlowElementInput toInputPort()
OuttoInputPort in interface Out<T>Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.