Class ValidationResult
java.lang.Object
com.elo.flows.api.components.connection.ValidationResult
Validation class that can be used in an AuthenticationProvider
-
Constructor Details
-
ValidationResult
public ValidationResult()
-
-
Method Details
-
isValid
public boolean isValid()Returns whether this validation process was successful- Returns:
trueif successful,falseotherwise
-
setValid
Sets if the validation process was successful- Parameters:
valid- the value to set- Returns:
- a
thisinstance
-
getMsg
An optional message to show e.g. why the validation was not successful- Returns:
- the optional message
-
setMsg
Sets a message to show. E.g. the reason the validation was not successful This parameter is optional- Parameters:
msg- the message- Returns:
- a
thisinstance
-