public class CredentialValidationResult extends Object implements ICredentialValidationResult
ICredentialValidationResult.| 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 |
getDisplayText(Locale aDisplayLocale) |
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 getDisplayText(@Nonnull Locale aDisplayLocale)
getDisplayText in interface com.helger.commons.text.display.IHasDisplayTextCopyright © 2016–2019 Philip Helger. All rights reserved.