public enum ValidationErrorType extends Enum<ValidationErrorType> implements org.mule.runtime.extension.api.error.ErrorTypeDefinition<ValidationErrorType>
ErrorTypeDefinition that throws the ValidationExtension| Enum Constant and Description |
|---|
BLANK_STRING |
ELAPSED_TIME |
EMPTY_COLLECTION |
INVALID_BOOLEAN |
INVALID_EMAIL |
INVALID_IP |
INVALID_NUMBER |
INVALID_SIZE |
INVALID_TIME |
INVALID_URL |
MISMATCH |
MULTIPLE |
NOT_BLANK_STRING |
NOT_ELAPSED_TIME |
NOT_EMPTY_COLLECTION |
NOT_NULL |
NULL |
REJECTED_IP |
VALIDATION
Indicates that a validation failure occurred
|
| Modifier and Type | Method and Description |
|---|---|
Optional<org.mule.runtime.extension.api.error.ErrorTypeDefinition<? extends Enum<?>>> |
getParent() |
static ValidationErrorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValidationErrorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValidationErrorType VALIDATION
public static final ValidationErrorType INVALID_IP
public static final ValidationErrorType REJECTED_IP
public static final ValidationErrorType INVALID_BOOLEAN
public static final ValidationErrorType INVALID_EMAIL
public static final ValidationErrorType NOT_EMPTY_COLLECTION
public static final ValidationErrorType EMPTY_COLLECTION
public static final ValidationErrorType BLANK_STRING
public static final ValidationErrorType NOT_BLANK_STRING
public static final ValidationErrorType NULL
public static final ValidationErrorType NOT_NULL
public static final ValidationErrorType MISMATCH
public static final ValidationErrorType INVALID_NUMBER
public static final ValidationErrorType INVALID_SIZE
public static final ValidationErrorType INVALID_TIME
public static final ValidationErrorType INVALID_URL
public static final ValidationErrorType ELAPSED_TIME
public static final ValidationErrorType NOT_ELAPSED_TIME
public static final ValidationErrorType MULTIPLE
public static ValidationErrorType[] values()
for (ValidationErrorType c : ValidationErrorType.values()) System.out.println(c);
public static ValidationErrorType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic Optional<org.mule.runtime.extension.api.error.ErrorTypeDefinition<? extends Enum<?>>> getParent()
getParent in interface org.mule.runtime.extension.api.error.ErrorTypeDefinition<ValidationErrorType>Copyright © 2025 MuleSoft, Inc.. All rights reserved.