| Modifier and Type | Method and Description |
|---|---|
ValidationErrorType |
ValidationResult.getErrorType()
Returns the error type associated to the result, if
ValidationResult.isError() is true. |
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.
|
| Constructor and Description |
|---|
ValidationException(ValidationResult validationResult,
ValidationErrorType errorType)
Creates a new instance for the given
validationResult |
| 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 |
IpErrorType.getErrorType() |
protected ValidationErrorType |
NotEmptyErrorType.getErrorType() |
protected ValidationErrorType |
NotNullErrorType.getErrorType() |
protected ValidationErrorType |
NotBlankErrorType.getErrorType() |
protected ValidationErrorType |
SizeErrorType.getErrorType() |
protected ValidationErrorType |
BlankErrorType.getErrorType() |
protected ValidationErrorType |
TimeErrorType.getErrorType() |
protected ValidationErrorType |
MultipleErrorType.getErrorType() |
protected ValidationErrorType |
BooleanErrorType.getErrorType() |
protected ValidationErrorType |
BasicValidationErrorType.getErrorType()
Defines the error type to throw.
|
protected ValidationErrorType |
UrlErrorType.getErrorType() |
protected ValidationErrorType |
EmptyErrorType.getErrorType() |
protected ValidationErrorType |
RegexErrorType.getErrorType() |
protected ValidationErrorType |
NotElapsedErrorType.getErrorType() |
protected ValidationErrorType |
IpFilterErrorType.getErrorType() |
protected ValidationErrorType |
ElapsedErrorType.getErrorType() |
protected ValidationErrorType |
EmailErrorType.getErrorType() |
protected ValidationErrorType |
NullErrorType.getErrorType() |
protected ValidationErrorType |
NumberErrorType.getErrorType() |
| Modifier and Type | Method and Description |
|---|---|
protected ValidationErrorType |
BooleanValidator.getErrorType() |
protected ValidationErrorType |
EmptyCollectionValidator.getErrorType() |
protected ValidationErrorType |
ElapsedValidator.getErrorType() |
protected ValidationErrorType |
NotNullValidator.getErrorType() |
protected ValidationErrorType |
NumberValidator.getErrorType() |
protected ValidationErrorType |
BlankStringValidator.getErrorType() |
protected ValidationErrorType |
IpFilterValidator.getErrorType() |
protected ValidationErrorType |
UrlValidator.getErrorType() |
protected ValidationErrorType |
EmailValidator.getErrorType() |
protected ValidationErrorType |
MatchesRegexValidator.getErrorType() |
protected ValidationErrorType |
SizeValidator.getErrorType() |
protected ValidationErrorType |
IpValidator.getErrorType() |
protected ValidationErrorType |
NotEmptyCollectionValidator.getErrorType() |
protected ValidationErrorType |
NotElapsedValidator.getErrorType() |
protected ValidationErrorType |
NotBlankStringValidator.getErrorType() |
protected ValidationErrorType |
TimeValidator.getErrorType() |
protected ValidationErrorType |
NullValidator.getErrorType() |
Copyright © 2023 MuleSoft, Inc.. All rights reserved.