Package org.vast.process
Interface IProcessChainExec
- All Superinterfaces:
IProcessExec
- All Known Implementing Classes:
ExecutableChainImpl
-
Method Summary
Modifier and TypeMethodDescriptionaddProcess
(String name, IProcessExec process) Adds a child process to this process chainconnect
(IProcessExec srcProcess, DataComponent srcComponent, IProcessExec destProcess, DataComponent destComponent) Create connection between ports of two child processesvoid
removeInternalConnection
(IDataConnection connection) Completely remove an internal connection between two child processes or between a chain internal port and a child processvoid
removeProcess
(String name) Removes a process from the chain and all connections to/from itvoid
setOutputNeeded
(String outputName, boolean needed) Indicates if data from the specified output is needed or notMethods inherited from interface org.vast.process.IProcessExec
canRun, connect, disconnect, dispose, execute, getInputConnections, getInputList, getInstanceName, getOutputConnections, getOutputList, getParamConnections, getParameterList, getProcessInfo, init, needSync, notifyParamChange, run, setInstanceName, setParentLogger, start, start, stop
-
Method Details
-
getChildProcesses
Map<String,IProcessExec> getChildProcesses()- Returns:
- Read-only map of processes included in this chain
-
addProcess
Adds a child process to this process chain- Parameters:
name
-process
-- Returns:
- the added process
-
removeProcess
Removes a process from the chain and all connections to/from it- Parameters:
name
-
-
getInternalConnections
Collection<IDataConnection> getInternalConnections()- Returns:
- Read-only list of all connections between child processes
-
connect
IDataConnection connect(IProcessExec srcProcess, DataComponent srcComponent, IProcessExec destProcess, DataComponent destComponent) throws ProcessException Create connection between ports of two child processes- Parameters:
srcProcess
-srcComponent
-destProcess
-destComponent
-- Throws:
ProcessException
-
removeInternalConnection
Completely remove an internal connection between two child processes or between a chain internal port and a child process- Parameters:
connection
-
-
setOutputNeeded
Indicates if data from the specified output is needed or not- Parameters:
outputName
-needed
-
-