public class OperatorNodeBuilder extends FlowElementBuilder
| Constructor and Description |
|---|
OperatorNodeBuilder(Class<? extends Annotation> annotationType,
Class<?> operatorClass,
Class<?> implementationClass,
String methodName,
Class<?>... methodParameterTypes)
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.
|
createFlow, createOperator, createOperator, defineAttribute, defineData, defineData, defineInput, defineInput, defineOutput, defineOutput, defineOutput, defineOutput, resolvepublic OperatorNodeBuilder(Class<? extends Annotation> annotationType, Class<?> operatorClass, Class<?> implementationClass, String methodName, Class<?>... methodParameterTypes)
annotationType - operator annotation type.operatorClass - operator classimplementationClass - operator implementation classmethodName - operator method namemethodParameterTypes - operator method parameter types (erasure)IllegalArgumentException - if some parameters were nullprotected FlowElementDescription build(List<PortInfo> inputPorts, List<PortInfo> outputPorts, List<DataInfo> arguments, List<AttributeInfo> attributes)
FlowElementBuilderbuild in class FlowElementBuilderinputPorts - list of operator inputoutputPorts - list of operator outputarguments - list of operator argumentattributes - list of operator attributeCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.