public interface ValidationResult
| Modifier and Type | Interface and Description |
|---|---|
static class |
ValidationResult.FailedValidationResult |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isBlocking()
Returns
true if the current validation blocks the import. |
boolean |
isSuccessful()
Returns
true if the current validation result is successful. |
ValidationResult |
merge(ValidationResult toBeMergedWith)
Merges the results with the provided and returns a new instance of the
ValidationResult object having "merged" results. |
boolean isSuccessful()
true if the current validation result is successful.true if the current validation result is successfulValidationResult merge(ValidationResult toBeMergedWith)
ValidationResult object having "merged" results.toBeMergedWith - a ValidationResult to merge withValidationResult object having "merged" resultsboolean isBlocking()
true if the current validation blocks the import.true if the current validation result is blocking.Copyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.