Interface IProcessChainExec

All Superinterfaces:
IProcessExec
All Known Implementing Classes:
ExecutableChainImpl

public interface IProcessChainExec extends IProcessExec
  • Method Details

    • getChildProcesses

      Map<String,IProcessExec> getChildProcesses()
      Returns:
      Read-only map of processes included in this chain
    • addProcess

      IProcessExec addProcess(String name, IProcessExec process)
      Adds a child process to this process chain
      Parameters:
      name -
      process -
      Returns:
      the added process
    • removeProcess

      void removeProcess(String name)
      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

      void removeInternalConnection(IDataConnection connection)
      Completely remove an internal connection between two child processes or between a chain internal port and a child process
      Parameters:
      connection -
    • setOutputNeeded

      void setOutputNeeded(String outputName, boolean needed)
      Indicates if data from the specified output is needed or not
      Parameters:
      outputName -
      needed -