Class TestConnectionResult

    • Constructor Detail

      • TestConnectionResult

        public TestConnectionResult()
    • Method Detail

      • setConnection

        public void setConnection​(Connection connection)

        The connection tested.

        Parameters:
        connection - The connection tested.
      • getConnection

        public Connection getConnection()

        The connection tested.

        Returns:
        The connection tested.
      • withConnection

        public TestConnectionResult withConnection​(Connection connection)

        The connection tested.

        Parameters:
        connection - The connection tested.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object