| Modifier and Type | Method and Description |
|---|---|
ValidationErrorType |
ValidationResult.getErrorType()
Returns the error type associated to the result, if
ValidationResult.isError() is true. |
| Constructor and Description |
|---|
ValidationException(ValidationResult validationResult,
ValidationErrorType errorType)
Creates a new instance for the given
validationResult |
| Modifier and Type | Method and Description |
|---|---|
protected ValidationErrorType |
BasicValidationErrorType.getErrorType()
Defines the error type to throw.
|
static ValidationErrorType |
ValidationErrorType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValidationErrorType[] |
ValidationErrorType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
ValidationErrorType |
ImmutableValidationResult.getErrorType()
Returns the error type associated to the result, if
ValidationResult.isError() is true. |
| Modifier and Type | Method and Description |
|---|---|
static ValidationResult |
ImmutableValidationResult.error(org.mule.runtime.api.i18n.I18nMessage message,
ValidationErrorType type)
Creates a new instance with the given
message and which ImmutableValidationResult.isError() returns true, with error type
type. |
static ValidationResult |
ImmutableValidationResult.error(String message,
ValidationErrorType type)
Creates a new instance with the given
message and which ImmutableValidationResult.isError() returns true, with error type
type. |
| Constructor and Description |
|---|
ImmutableValidationResult(String message,
ValidationErrorType type,
boolean error) |
| Modifier and Type | Method and Description |
|---|---|
protected ValidationErrorType |
NotEmptyCollectionValidator.getErrorType() |
protected ValidationErrorType |
NullValidator.getErrorType() |
protected ValidationErrorType |
SizeValidator.getErrorType() |
protected ValidationErrorType |
BooleanValidator.getErrorType() |
protected ValidationErrorType |
MatchesRegexValidator.getErrorType() |
protected ValidationErrorType |
NotBlankStringValidator.getErrorType() |
protected ValidationErrorType |
EmailValidator.getErrorType() |
protected ValidationErrorType |
NotNullValidator.getErrorType() |
protected ValidationErrorType |
TimeValidator.getErrorType() |
protected ValidationErrorType |
BlankStringValidator.getErrorType() |
protected ValidationErrorType |
EmptyCollectionValidator.getErrorType() |
protected ValidationErrorType |
IpValidator.getErrorType() |
protected ValidationErrorType |
UrlValidator.getErrorType() |
protected ValidationErrorType |
NumberValidator.getErrorType() |
Copyright © 2017 MuleSoft, Inc.. All rights reserved.