public interface ParameterValidatorBuilder
ParameterValidator
.Modifier and Type | Method and Description |
---|---|
ParameterValidatorBuilder |
allowExpression(boolean allowsExpressions)
Indicates whether
ModelType.EXPRESSION is allowed |
ParameterValidatorBuilder |
allowUndefined(boolean allowsUndefined)
Indicates whether
ModelType.UNDEFINED is allowed |
org.jboss.as.controller.operations.validation.ParameterValidator |
build()
Builds the validator.
|
ParameterValidatorBuilder |
configure(org.jboss.as.controller.AbstractAttributeDefinitionBuilder<?,?> builder)
Configures this validator builder using the configuration of the specified attribute definition builder
|
ParameterValidatorBuilder |
configure(org.jboss.as.controller.AttributeDefinition definition)
Configures this validator builder using the configuration of the specified attribute definition
|
ParameterValidatorBuilder allowUndefined(boolean allowsUndefined)
ModelType.UNDEFINED
is allowedallowsUndefined
- indicates whether ModelType.UNDEFINED
is allowedParameterValidatorBuilder allowExpression(boolean allowsExpressions)
ModelType.EXPRESSION
is allowedallowExpressions
- whether ModelType.EXPRESSION
is allowedParameterValidatorBuilder configure(org.jboss.as.controller.AttributeDefinition definition)
definition
- an attribute definitionParameterValidatorBuilder configure(org.jboss.as.controller.AbstractAttributeDefinitionBuilder<?,?> builder)
builder
- an attribute definition builderorg.jboss.as.controller.operations.validation.ParameterValidator build()
Copyright © 2017 JBoss by Red Hat. All rights reserved.