public class CredentialValidationResult extends Object implements com.helger.commons.state.ISuccessIndicator, Serializable
| Modifier and Type | Field and Description |
|---|---|
static CredentialValidationResult |
SUCCESS |
| Modifier | Constructor and Description |
|---|---|
protected |
CredentialValidationResult()
Success only constructor.
|
|
CredentialValidationResult(String sErrorMsg)
Constructor with an error message
|
| Modifier and Type | Method and Description |
|---|---|
String |
getErrorMessage() |
boolean |
isFailure() |
boolean |
isSuccess() |
String |
toString() |
public static final CredentialValidationResult SUCCESS
protected CredentialValidationResult()
public boolean isSuccess()
isSuccess in interface com.helger.commons.state.ISuccessIndicatorpublic boolean isFailure()
isFailure in interface com.helger.commons.state.ISuccessIndicator@Nullable public String getErrorMessage()
null if this is a success.Copyright © 2014–2015 Philip Helger. All rights reserved.