les.mule-module-validations.3.7.0.source-code.mule-validation.xsd Maven / Gradle / Ivy
Default configuration
Perform a list of nested validation operations and informs only one link MultipleValidationResult
which summarizes all of the found errors (if any).
<p/>
If code throwsException is code true, then the link ValidationResult
is communicated by throwing a link ValidationException. On the other hand,
if code throwsException is code false, then the link ValidationResult
is set as the message payload.
<p/>
When configured through XML, all the code validations must include
the All the child processors must contain the code validator-message-processor
substitution group.
the nested validation operations
Specify which configuration to use for this invocation.
Specify which configuration to use for this invocation.
is an expression and evaluate it in case that the validation failed
then the platform will choose a default type
Validates that the code email address is valid
Specify which configuration to use for this invocation.
an email address
is an expression and evaluate it in case that the validation failed
then the platform will choose a default type
Validates that code value is empty. The definition of empty depends on
the type of code value. If it's a link String it will check that it is not blank.
If it's a link Collection, array or link Map it will check that it's not empty. No other types
are supported, an link IllegalArgumentException will be thrown if any other type is supplied
Specify which configuration to use for this invocation.
the value to check
is an expression and evaluate it in case that the validation failed
then the platform will choose a default type
Validates that the given code value is code false
Specify which configuration to use for this invocation.
the boolean to test
is an expression and evaluate it in case that the validation failed
then the platform will choose a default type
Validates that an code ip address represented as a link String is valid
Specify which configuration to use for this invocation.
the ip address to validate
is an expression and evaluate it in case that the validation failed
then the platform will choose a default type
Validates that code value is not empty. The definition of empty depends on
the type of code value. If it's a link String it will check that it is not blank.
If it's a link Collection, array or link Map it will check that it's not empty. No other types
are supported, an link IllegalArgumentException will be thrown if any other type is supplied
Specify which configuration to use for this invocation.
the value to check
is an expression and evaluate it in case that the validation failed
then the platform will choose a default type
Validates that the given code value is not code null nor
an instance of link NullPayload
Specify which configuration to use for this invocation.
the value to test
is an expression and evaluate it in case that the validation failed
then the platform will choose a default type
Validates that the given code value is code null or
an instance of link NullPayload
Specify which configuration to use for this invocation.
the value to test
is an expression and evaluate it in case that the validation failed
then the platform will choose a default type
Receives a numeric code value as a link String and validates that it can be parsed
per the rules of a code numberType
Specify which configuration to use for this invocation.
the value to be tested
The locale to use for the format. If not provided it defaults to the system {@link Locale}
The pattern used to format the value
If provided, check that the parsed value is greater or equal than this value
If provided, check that the parsed value is less or equal than this value
the type of number to test {@code value} against
is an expression and evaluate it in case that the validation failed
then the platform will choose a default type
Validates that a code time in link String format is valid for the given code pattern and code locale.
If no pattern is provided, then the code locale's default will be used
Specify which configuration to use for this invocation.
A date in String format
the locale of the String
the pattern for the {@code date}
is an expression and evaluate it in case that the validation failed
then the platform will choose a default type
Validates that the given code value is code true
Specify which configuration to use for this invocation.
the boolean to test
is an expression and evaluate it in case that the validation failed
then the platform will choose a default type
Validates that code url is a valid one
Specify which configuration to use for this invocation.
the URL to validate as a {@link String}
is an expression and evaluate it in case that the validation failed
then the platform will choose a default type
Validates that code value matches the code regex regular expression
Specify which configuration to use for this invocation.
the value to check
the regular expression to check against
when {@code true} matching is case sensitive, otherwise matching is case in-sensitive
is an expression and evaluate it in case that the validation failed
then the platform will choose a default type
Validates that code value has a size between certain inclusive boundaries. This
validator is capable of handling instances of link String, link Collection,
link Map and arrays
Specify which configuration to use for this invocation.
the value to validate
the minimum expected length (inclusive, defaults to zero)
the maximum expected length (inclusive). Leave unspecified or {@code null} to allow any max length
is an expression and evaluate it in case that the validation failed
then the platform will choose a default type
© 2015 - 2025 Weber Informatics LLC | Privacy Policy