Class DefaultPromptTestConnectionRetVal
java.lang.Object
de.xima.fc.prompt.service.defaults.DefaultPromptTestConnectionRetVal
Default POJO implementation of
IPromptTestConnectionRetVal.- Since:
- 8.5.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic IPromptTestConnectionRetValCreates a new instance ofDefaultPromptTestConnectionRetValfor a failed connection test.static IPromptTestConnectionRetValCreates a new instance ofDefaultPromptTestConnectionRetValfor a failed connection test.static IPromptTestConnectionRetValCreates a new instance ofDefaultPromptTestConnectionRetValfor a successful connection test.
-
Method Details
-
ofFailure
Creates a new instance ofDefaultPromptTestConnectionRetValfor a failed connection test.- Parameters:
errors- The list of error messages that describe the failure.- Returns:
- A new POJO instance indicating a failed connection test.
-
ofFailure
Creates a new instance ofDefaultPromptTestConnectionRetValfor 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 ofDefaultPromptTestConnectionRetValfor a successful connection test.- Parameters:
messages- An optional list of informational messages that describe the test outcome.- Returns:
- A new POJO instance indicating a successful connection test.
-