Package | Description |
---|---|
org.apache.sling.validation | |
org.apache.sling.validation.spi.support |
Modifier and Type | Method and Description |
---|---|
java.util.List<ValidationFailure> |
ValidationResult.getFailures()
In case the validation failed (check the
ValidationResult.isValid() method), this method returns the failure's causes. |
Modifier and Type | Class and Description |
---|---|
class |
DefaultValidationFailure
Wraps a message key (being looked up in a
ResourceBundle ), messageArguments (being used with MessageFormat.format(String, Object...)
and the location where the validation failure occurred. |
Modifier and Type | Method and Description |
---|---|
java.util.List<ValidationFailure> |
DefaultValidationResult.getFailures() |
Constructor and Description |
---|
DefaultValidationResult(ValidationFailure... failures) |
Copyright © 2018 The Apache Software Foundation. All rights reserved.