public class BasicJobflowMirror extends BasicJobflowInfo implements JobflowMirror
JobflowMirror
.Element.Attribute
Constructor and Description |
---|
BasicJobflowMirror(String flowId)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
addInput(PortMirror<? extends ImporterDescription> port)
Adds an external input port.
|
void |
addInputs(Collection<? extends PortMirror<? extends ImporterDescription>> ports)
Adds external input ports.
|
void |
addOutput(PortMirror<? extends ExporterDescription> port)
Adds an external output port.
|
void |
addOutputs(Collection<? extends PortMirror<? extends ExporterDescription>> ports)
Adds external output ports.
|
PortMirror<? extends ImporterDescription> |
findInput(String name)
Returns an input of this jobflow.
|
PortMirror<? extends ExporterDescription> |
findOutput(String name)
Returns an output of this jobflow.
|
Collection<? extends PortMirror<? extends ImporterDescription>> |
getInputs()
Returns the input ports of the jobflow.
|
Collection<? extends PortMirror<? extends ExporterDescription>> |
getOutputs()
Returns the output ports of the jobflow.
|
addTask, getId, getTasks
addBlocker, getBlockers, setBlockers
addAttribute, getAttributes, setAttributes
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getId, getTasks
getBlockers
findAttribute, getAttributes
public BasicJobflowMirror(String flowId)
flowId
- the flow IDpublic Collection<? extends PortMirror<? extends ImporterDescription>> getInputs()
JobflowMirror
getInputs
in interface JobflowMirror
public Collection<? extends PortMirror<? extends ExporterDescription>> getOutputs()
JobflowMirror
getOutputs
in interface JobflowMirror
public PortMirror<? extends ImporterDescription> findInput(String name)
JobflowMirror
findInput
in interface JobflowMirror
name
- the input namenull
if it is not foundpublic PortMirror<? extends ExporterDescription> findOutput(String name)
JobflowMirror
findOutput
in interface JobflowMirror
name
- the output namenull
if it is not foundpublic void addInputs(Collection<? extends PortMirror<? extends ImporterDescription>> ports)
ports
- the external port mirrorspublic void addOutputs(Collection<? extends PortMirror<? extends ExporterDescription>> ports)
ports
- the external port mirrorspublic void addInput(PortMirror<? extends ImporterDescription> port)
port
- the external port mirrorpublic void addOutput(PortMirror<? extends ExporterDescription> port)
port
- the external port mirrorCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.