Class DefaultTestPromptConnectionRetVal

    • Method Detail

      • ofFailure

        public static ITestPromptConnectionRetVal ofFailure​(String... errors)
        Creates a new instance of ITestPromptConnectionRetVal for a failed connection test.
        Parameters:
        errors - An optional list of error messages that describe the failure.
        Returns:
        A new POJO instance indicating a failed connection test.
      • ofFailure

        public static ITestPromptConnectionRetVal ofFailure​(List<String> errors)
        Creates a new instance of ITestPromptConnectionRetVal for a failed connection test.
        Parameters:
        errors - An optional list of error messages that describe the failure.
        Returns:
        A new POJO instance indicating a failed connection test.
      • ofSuccess

        public static ITestPromptConnectionRetVal ofSuccess​(String... messages)
        Creates a new instance of ITestPromptConnectionRetVal for a successful connection test.
        Parameters:
        messages - An optional list of informational messages describing the test outcome.
        Returns:
        A new POJO instance indicating a successful connection test.
      • ofSuccess

        public static ITestPromptConnectionRetVal ofSuccess​(List<String> messages)
        Creates a new instance of ITestPromptConnectionRetVal for a successful connection test.
        Parameters:
        messages - An optional list of informational messages describing the test outcome.
        Returns:
        A new POJO instance indicating a successful connection test.
      • testPromptConnectionRetValBuilder

        public static DefaultTestPromptConnectionRetVal.Builder testPromptConnectionRetValBuilder()
        Creates a new builder for test prompt connection return values.
        Returns:
        A new builder.