public interface ValidationBuilderArray extends ValidationBuilderCoreBase<ValidationBuilderArray>
| Modifier and Type | Method and Description |
|---|---|
ValidationBuilderArray |
arrayItselfAddFailMessage()
If the validation of at least one element failed, add a Fail Validation Message
on the array itself.
|
ValidationBuilderArray |
arrayItselfAddFailMessage(String customSuccessMessageText)
If the validation of at least one element failed, add a Fail Validation Message
on the array itself.
|
ValidationBuilderArray |
arrayItselfAddFailMessage(String validationKey,
String customFailMessageText)
If the validation of at least one element failed, add a Fail Validation Message
on the array itself.
|
ValidationBuilderArray |
arrayItselfAddSuccessMessage()
If all its elements are successfully validated, add a Success Validation Message
on the array itself.
|
ValidationBuilderArray |
arrayItselfAddSuccessMessage(String customSuccessMessageText)
If all its elements are successfully validated, add a Success Validation Message
on the array itself.
|
ValidationBuilderArray |
arrayItselfAddSuccessMessage(String validationKey,
String customSuccessMessageText)
If all its elements are successfully validated, add a Success Validation Message
on the array itself.
|
addMessageOnSuccess, addMessageOnSuccess, code, failMessageText, treatErrorAsWarning, validate, validate, validateValidationBuilderArray arrayItselfAddSuccessMessage()
The validation key is going to be the JsonPath to the array.
ValidationBuilderArray arrayItselfAddSuccessMessage(String customSuccessMessageText)
customSuccessMessageText - the Success message text to use for the
array itself. If null, the default message will be used.ValidationBuilderArray arrayItselfAddSuccessMessage(String validationKey, String customSuccessMessageText)
validationKey - The validation key to which the Validation Message
will be added.customSuccessMessageText - the Success message text to use for the
array itself. If null, the default message will be used.ValidationBuilderArray arrayItselfAddFailMessage()
JsonPath to the array.ValidationBuilderArray arrayItselfAddFailMessage(String customSuccessMessageText)
customSuccessMessageText - the Fail message text to use for the
array itself. If null, the default message will be used.ValidationBuilderArray arrayItselfAddFailMessage(String validationKey, String customFailMessageText)
validationKey - The validation key to which the Validation Message
will be added.customFailMessageText - the Fail message text to use for the
array itself.Copyright © 2017. All rights reserved.