public class FlowNodeBuilder extends FlowElementBuilder
Constructor and Description |
---|
FlowNodeBuilder(Class<? extends FlowDescription> flowClass,
Class<?>... parameterTypes)
Creates a new instance for operator method.
|
Modifier and Type | Method and Description |
---|---|
protected FlowElementDescription |
build(List<PortInfo> inputPorts,
List<PortInfo> outputPorts,
List<DataInfo> arguments,
List<AttributeInfo> attributes)
Builds a flow from operator input/output/arguments.
|
Constructor<? extends FlowDescription> |
getConstructor()
Returns the target constructor.
|
createFlow, createOperator, createOperator, defineAttribute, defineData, defineData, defineInput, defineInput, defineOutput, defineOutput, defineOutput, defineOutput, resolve
public FlowNodeBuilder(Class<? extends FlowDescription> flowClass, Class<?>... parameterTypes)
flowClass
- flow classparameterTypes
- flow-part constructor parameter typesIllegalArgumentException
- if some parameters were null
public Constructor<? extends FlowDescription> getConstructor()
protected FlowElementDescription build(List<PortInfo> inputPorts, List<PortInfo> outputPorts, List<DataInfo> arguments, List<AttributeInfo> attributes)
FlowElementBuilder
build
in class FlowElementBuilder
inputPorts
- list of operator inputoutputPorts
- list of operator outputarguments
- list of operator argumentattributes
- list of operator attributeCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.