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.
|
allowExpression, allowUndefined, configure, configure
public DoubleRangeValidatorBuilder lowerBound(double value)
lowerBound
- the lower boundpublic DoubleRangeValidatorBuilder lowerBoundExclusive(double value)
lowerBound
- the lower boundpublic DoubleRangeValidatorBuilder upperBound(double value)
upperBound
- the upper boundpublic DoubleRangeValidatorBuilder upperBoundExclusive(double value)
upperBound
- the upper boundpublic org.jboss.as.controller.operations.validation.ParameterValidator build()
Copyright © 2018 JBoss by Red Hat. All rights reserved.