@ SafeVarargs public final void setValidators ( @ NonNull final Validator < Type > ... validators ) { Condition . INSTANCE . ensureNotNull ( validators , "The validators may not be null" ) ; Condition . INSTANCE . ensureAtLeast ( validators . length , 1 , "The validators may not be empty" ) ; this . validators = validators ; }
Sets the single validators the validator should consist of .