public class FlowElementEditor extends Object
FlowElement.| Constructor and Description |
|---|
FlowElementEditor(FlowElement element)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
<T> Source<T> |
createSource(String name,
Class<T> type)
Returns the
Source object which represents output port of the target flow. |
<T> Source<T> |
createSource(String name,
Source<T> typeRef)
Returns the
Source object which represents output port of the target flow. |
FlowElementInput |
getInput(String name)
Returns an input port.
|
FlowElementOutput |
getOutput(String name)
Returns an output port.
|
public FlowElementEditor(FlowElement element)
element - target elementIllegalArgumentException - if some parameters were nullpublic FlowElementInput getInput(String name)
name - output nameIllegalArgumentException - if some parameters were nullpublic FlowElementOutput getOutput(String name)
name - output nameIllegalArgumentException - if some parameters were nullpublic <T> Source<T> createSource(String name, Source<T> typeRef)
Source object which represents output port of the target flow.T - data typename - output port nametypeRef - other source which has the type as same as target outputIllegalArgumentException - if some parameters were nullpublic <T> Source<T> createSource(String name, Class<T> type)
Source object which represents output port of the target flow.T - data typename - output port nametype - target output typeIllegalArgumentException - if some parameters were nullCopyright © 2011–2018 Asakusa Framework Team. All rights reserved.