public class UserValidatorResult extends Object implements ValidationResult, Serializable
ValidationResult.FailedValidationResult| Constructor and Description |
|---|
UserValidatorResult(Set<String> duplicateUsers) |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getDuplicateUsers() |
String |
getMessageKey() |
List<Object> |
getMessageParams() |
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. |
public boolean isSuccessful()
ValidationResulttrue if the current validation result is successful.isSuccessful in interface ValidationResulttrue if the current validation result is successfulpublic ValidationResult merge(ValidationResult toBeMergedWith)
ValidationResultValidationResult object having "merged" results.merge in interface ValidationResulttoBeMergedWith - a ValidationResult to merge withValidationResult object having "merged" resultspublic boolean isBlocking()
ValidationResulttrue if the current validation blocks the import.isBlocking in interface ValidationResulttrue if the current validation result is blocking.public String getMessageKey()
Copyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.