Class DefaultTestPromptConnectionRetVal
java.lang.Object
de.xima.fc.prompt.mgmt.defaults.DefaultTestPromptConnectionRetVal
Default implementation of
ITestPromptConnectionRetVal with a builder.- Since:
- 8.5.0
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a new builder for test prompt connection return values.static ITestPromptConnectionRetValCreates a new instance ofITestPromptConnectionRetValfor a failed connection test.static ITestPromptConnectionRetValCreates a new instance ofITestPromptConnectionRetValfor a failed connection test.static ITestPromptConnectionRetValCreates a new instance ofITestPromptConnectionRetValfor a successful connection test.static ITestPromptConnectionRetValCreates a new instance ofITestPromptConnectionRetValfor a successful connection test.Creates a new builder for test prompt connection return values.
-
Method Details
-
builder
Creates a new builder for test prompt connection return values.- Returns:
- A new builder.
-
ofFailure
Creates a new instance ofITestPromptConnectionRetValfor 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
Creates a new instance ofITestPromptConnectionRetValfor 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
Creates a new instance ofITestPromptConnectionRetValfor 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
Creates a new instance ofITestPromptConnectionRetValfor 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
Creates a new builder for test prompt connection return values.- Returns:
- A new builder.
-