Class ChainedValidator
java.lang.Object
be.dezijwegel.betteryaml.validation.validator.Validator
be.dezijwegel.betteryaml.validation.validator.ChainedValidator
public class ChainedValidator extends Validator
-
Constructor Summary
Constructors Constructor Description ChainedValidator(@NotNull Validator... validator)This allows multiple validators to be used on one field They are executed in the given order -
Method Summary
-
Constructor Details
-
ChainedValidator
This allows multiple validators to be used on one field They are executed in the given order- Parameters:
validator- one or more validators you want to use (can be left blank but no validation will take place)
-
-
Method Details