Interface OutputConnectionPoint

All Superinterfaces:
IDesignElement, IProtocolSupport, IWidget, IWritable, IXmlSerializable, Serializable
All Known Subinterfaces:
IDesignAbortTask, IDesignAction, IDesignAndJoin, IDesignConnectorTreatmentTask, IDesignFieldTreatmentTask, IDesignParallel, IDesignRoleTreatmentTask, IDesignScriptTreatmentTask, IDesignStartTask, IDesignStateTreatmentTask, IDesignTreatmentGroupTask, IDesignTreatmentTask

public interface OutputConnectionPoint extends IDesignElement, IProtocolSupport
Interface to allow connections to other object.
Since:
1.0, 18/10/2010
Author:
vlygeros
  • Method Details

    • connect

      IDesignLink connect(InputConnectionPoint inputConnectionPoint)
      Connects to an input connection point.
      Parameters:
      inputConnectionPoint - The input connection point to connect to.
      Returns:
      the link between the current object and inputConnectionPoint.
    • disconnect

      boolean disconnect(InputConnectionPoint inputConnectionPoint)
      Disconnects from an input connection point.
      Parameters:
      inputConnectionPoint - The input connection point to disconnect from.
      Returns:
      true if the link has been found or false.
    • isConnected

      boolean isConnected(InputConnectionPoint inputConnectionPoint)
      Checks if the connection exists.
      Parameters:
      inputConnectionPoint - The input connection point to check from.
      Returns:
      true if the connection exists, false otherwize.
    • getOutputs

      List<IDesignLink> getOutputs()
      Gets the output objects.
      Returns:
      A List of IDesignLink objects.
    • disconnectOutputs

      void disconnectOutputs()
      Reset all output connections.
    • getOutputTasks

      List<IDesignTask> getOutputTasks()
      Gets the output tasks.
      Returns:
      A List of IDesignTask objects.