Package | Description |
---|---|
org.mule.extension.validation.internal |
Modifier and Type | Method and Description |
---|---|
ValidationOptions |
ValidationContext.getOptions()
Returns the configured
ValidationOptions
for this validation |
Modifier and Type | Method and Description |
---|---|
void |
CustomValidatorOperation.customValidator(ObjectSource<Validator> source,
ValidationOptions options,
MuleEvent event) |
void |
CommonValidationOperations.isEmail(String email,
ValidationOptions options,
MuleEvent event)
Validates that the
email address is valid |
void |
CommonValidationOperations.isEmpty(Object value,
ValidationOptions options,
MuleEvent event)
Validates that
value is empty. |
void |
CommonValidationOperations.isFalse(boolean expression,
ValidationOptions options,
MuleEvent event)
Validates that the given
value is false |
void |
CommonValidationOperations.isIp(String ip,
ValidationOptions options,
MuleEvent event)
Validates that an
ip address represented as a String is valid |
void |
CommonValidationOperations.isNotEmpty(Object value,
ValidationOptions options,
MuleEvent event)
Validates that
value is not empty. |
void |
CommonValidationOperations.isNotNull(Object value,
ValidationOptions options,
MuleEvent event)
|
void |
CommonValidationOperations.isNull(Object value,
ValidationOptions options,
MuleEvent event)
|
void |
NumberValidationOperation.isNumber(String value,
String locale,
String pattern,
String minValue,
String maxValue,
NumberType numberType,
ValidationOptions options,
MuleEvent event)
Receives a numeric
value as a String and validates that it can be parsed
per the rules of a numberType |
void |
CommonValidationOperations.isTime(String time,
String locale,
String pattern,
ValidationOptions options,
MuleEvent event)
|
void |
CommonValidationOperations.isTrue(boolean expression,
ValidationOptions options,
MuleEvent event)
Validates that the given
value is true |
void |
CommonValidationOperations.isUrl(String url,
ValidationOptions options,
MuleEvent event)
Validates that
url is a valid one |
void |
CommonValidationOperations.matchesRegex(String value,
String regex,
boolean caseSensitive,
ValidationOptions options,
MuleEvent event)
Validates that
value matches the regex regular expression |
void |
CommonValidationOperations.validateSize(Object value,
int min,
Integer max,
ValidationOptions options,
MuleEvent event)
Validates that
value has a size between certain inclusive boundaries. |
Constructor and Description |
---|
ValidationContext(ValidationMessages messages,
ValidationOptions options,
MuleEvent muleEvent) |
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.