public interface IWorkFlow extends IModule
Modifier and Type | Method and Description |
---|---|
void |
add(IModule component)
Adds a component to the workflow in phase I.
|
void |
clear()
Clears wiring.
|
void |
finalize()
Leftover, un-wired module inputs and outputs become workflow inputs and
outputs.
|
boolean |
fromXML(String xml)
Restores chained components from XML string representation.
|
Wire[] |
getWires()
Gets the current chains.
|
void |
quit()
Stops processing.
|
String |
toXML()
Saves chained components as XML string representation.
|
void |
wire(IModule source,
IModule dest)
Chains default output of one component to default input of another.
|
void |
wire(IModule source,
IModule dest,
String destName)
Chains default output of one component to named input of another.
|
void |
wire(IModule source,
String sourceName,
IModule dest)
Chains named output of one component to default input of another.
|
void |
wire(IModule source,
String sourceName,
IModule dest,
String destName)
Chains named output of one component to named input of another.
|
void |
wireInput(IModule dest)
Chains default workflow input to default input of component.
|
void |
wireInput(IModule dest,
String destName)
Chains default workflow input to named input of component.
|
void |
wireInput(String inName,
IModule dest)
Chains named workflow input to default input of component.
|
void |
wireInput(String inName,
IModule dest,
String destName)
Chains named workflow input to named input of component.
|
void |
wireOutput(IModule source)
Chains default component output to default workflow output.
|
void |
wireOutput(IModule source,
String sourceName)
Chains named component output to default workflow output.
|
void |
wireOutput(String outName,
IModule source)
Chains default component output to named workflow output.
|
void |
wireOutput(String outName,
IModule source,
String sourceName)
Chains named component output to named workflow output.
|
getInputNames, getLauncher, getName, getOutputNames, input, input, setName, setOutputListener, setOutputListener
void add(IModule component)
component
- void wire(IModule source, IModule dest)
source
- dest
- void wire(IModule source, String sourceName, IModule dest)
source
- sourceName
- dest
- void wire(IModule source, IModule dest, String destName)
source
- dest
- destName
- void wire(IModule source, String sourceName, IModule dest, String destName)
source
- sourceName
- dest
- destName
- Wire[] getWires()
void finalize()
void wireInput(IModule dest)
dest
- void wireInput(IModule dest, String destName)
dest
- destName
- void wireInput(String inName, IModule dest)
inName
- dest
- void wireInput(String inName, IModule dest, String destName)
inName
- dest
- destName
- void wireOutput(IModule source)
source
- void wireOutput(IModule source, String sourceName)
source
- sourceName
- void wireOutput(String outName, IModule source)
outName
- source
- void wireOutput(String outName, IModule source, String sourceName)
outName
- source
- sourceName
- String toXML()
boolean fromXML(String xml)
void quit()
void clear()
Copyright © 2015–2022 SciJava. All rights reserved.