public class DoubleRangeValidatorBuilder extends Object implements ParameterValidatorBuilder
ModelType.DOUBLE parameters.| Constructor and Description |
|---|
DoubleRangeValidatorBuilder() |
| Modifier and Type | Method and Description |
|---|---|
DoubleRangeValidatorBuilder |
allowExpression(boolean allowsExpressions)
Indicates whether
ModelType.EXPRESSION is allowed |
DoubleRangeValidatorBuilder |
allowUndefined(boolean allowsUndefined)
Indicates whether
ModelType.UNDEFINED is allowed |
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.
|
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 DoubleRangeValidatorBuilder allowUndefined(boolean allowsUndefined)
ModelType.UNDEFINED is allowedallowsUndefined - indicates whether ModelType.UNDEFINED is allowedpublic DoubleRangeValidatorBuilder allowExpression(boolean allowsExpressions)
ModelType.EXPRESSION is allowedallowExpressions - whether ModelType.EXPRESSION is allowedpublic org.jboss.as.controller.operations.validation.ParameterValidator build()
build in interface ParameterValidatorBuilderCopyright © 2015 JBoss by Red Hat. All rights reserved.