Constructor and Description |
---|
MockIn(Class<T> type,
String name)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
static <T> MockIn<T> |
of(Class<T> type,
String name)
Creates a new instance.
|
FlowElement |
toElement()
Returns the
FlowElement representation of this object. |
FlowElementOutput |
toOutputPort()
Returns the internal port representation of this source element.
|
public static <T> MockIn<T> of(Class<T> type, String name)
T
- the data typetype
- the input typename
- the input namepublic FlowElementOutput toOutputPort()
Source
toOutputPort
in interface Source<T>
public FlowElement toElement()
FlowElement
representation of this object.FlowElement
representationCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.