public class DoubleRangeValidatorBuilder extends AbstractParameterValidatorBuilder
ModelType.DOUBLE parameters.| Constructor and Description |
|---|
DoubleRangeValidatorBuilder() |
| Modifier and Type | Method and Description |
|---|---|
org.jboss.as.controller.operations.validation.ParameterValidator |
build()
Builds the validator.
|
DoubleRangeValidatorBuilder |
lowerBound(double value)
Sets an inclusive lower bound of this validator.
|
DoubleRangeValidatorBuilder |
lowerBoundExclusive(double value)
Sets an exclusive lower bound of this validator.
|
DoubleRangeValidatorBuilder |
upperBound(double value)
Sets the inclusive upper bound of this validator.
|
DoubleRangeValidatorBuilder |
upperBoundExclusive(double value)
Sets the exclusive upper bound of this validator.
|
configure, configurepublic DoubleRangeValidatorBuilder lowerBound(double value)
value - the lower boundpublic DoubleRangeValidatorBuilder lowerBoundExclusive(double value)
value - the lower boundpublic DoubleRangeValidatorBuilder upperBound(double value)
value - the upper boundpublic DoubleRangeValidatorBuilder upperBoundExclusive(double value)
value - the upper boundpublic org.jboss.as.controller.operations.validation.ParameterValidator build()
ParameterValidatorBuilderCopyright © 2021 JBoss by Red Hat. All rights reserved.