Interface ConnectionValidator

  • All Known Implementing Classes:
    Pipeline

    public interface ConnectionValidator
    Allows Connections to be validated to ensure that the pipeline will remain valid.
    • Method Detail

      • canConnect

        boolean canConnect​(OutputSocket<?> outputSocket,
                           InputSocket<?> inputSocket)
        Determines if an output socket can be connected to an input socket.
        Parameters:
        outputSocket - The output socket to connect to the input socket
        inputSocket - The input socket to accept the output value of the output socket
        Returns:
        True if a valid connection can be made from these two Sockets