net.sf.mmm.util.validation.base.ValidatorBuilderBoolean Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mmm-util-validation Show documentation
Show all versions of mmm-util-validation Show documentation
This project provides advanced validation support.
/* Copyright (c) The m-m-m Team, Licensed under the Apache License, Version 2.0
* http://www.apache.org/licenses/LICENSE-2.0 */
package net.sf.mmm.util.validation.base;
/**
* The {@link ObjectValidatorBuilder builder} of {@link AbstractValidator} for {@link String} values.
*
* @param the generic type of the {@link #and() parent builder}.
*
* @author hohwille
* @since 7.1.0
*/
public class ValidatorBuilderBoolean
extends ObjectValidatorBuilder> {
/**
* The constructor.
*
* @param parent the {@link #and() parent} builder.
*/
public ValidatorBuilderBoolean(PARENT parent) {
super(parent);
}
@Override
public ValidatorBuilderBoolean range(String min, String max) {
throw new UnsupportedOperationException("Min/max constraints not avilable for Boolean");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy