Class DoubleRangeValidatorBuilder
- java.lang.Object
-
- org.jboss.as.clustering.controller.validation.AbstractParameterValidatorBuilder
-
- org.jboss.as.clustering.controller.validation.DoubleRangeValidatorBuilder
-
- All Implemented Interfaces:
ParameterValidatorBuilder
public class DoubleRangeValidatorBuilder extends AbstractParameterValidatorBuilder
A builder for creating a range validator forModelType.DOUBLEparameters.- Author:
- Paul Ferraro
-
-
Constructor Summary
Constructors Constructor Description DoubleRangeValidatorBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jboss.as.controller.operations.validation.ParameterValidatorbuild()Builds the validator.DoubleRangeValidatorBuilderlowerBound(double value)Sets an inclusive lower bound of this validator.DoubleRangeValidatorBuilderlowerBoundExclusive(double value)Sets an exclusive lower bound of this validator.DoubleRangeValidatorBuilderupperBound(double value)Sets the inclusive upper bound of this validator.DoubleRangeValidatorBuilderupperBoundExclusive(double value)Sets the exclusive upper bound of this validator.-
Methods inherited from class org.jboss.as.clustering.controller.validation.AbstractParameterValidatorBuilder
configure, configure
-
-
-
-
Method Detail
-
lowerBound
public DoubleRangeValidatorBuilder lowerBound(double value)
Sets an inclusive lower bound of this validator.- Parameters:
value- the lower bound
-
lowerBoundExclusive
public DoubleRangeValidatorBuilder lowerBoundExclusive(double value)
Sets an exclusive lower bound of this validator.- Parameters:
value- the lower bound
-
upperBound
public DoubleRangeValidatorBuilder upperBound(double value)
Sets the inclusive upper bound of this validator.- Parameters:
value- the upper bound
-
upperBoundExclusive
public DoubleRangeValidatorBuilder upperBoundExclusive(double value)
Sets the exclusive upper bound of this validator.- Parameters:
value- the upper bound
-
build
public org.jboss.as.controller.operations.validation.ParameterValidator build()
Description copied from interface:ParameterValidatorBuilderBuilds the validator.- Returns:
- a parameter validator
-
-