public class ObjectTypeValidator extends ModelTypeValidator
BIGDECIMAL_MAX, BIGDECIMAL_MIN, BIGINTEGER_MAX, BIGINTEGER_MIN, nullable, strictType, validTypes| Constructor and Description |
|---|
ObjectTypeValidator(boolean nullable,
AttributeDefinition... attributes) |
| Modifier and Type | Method and Description |
|---|---|
void |
validateParameter(String parameterName,
org.jboss.dmr.ModelNode value)
Validate the parameter with the given name.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitvalidateResolvedParameterpublic ObjectTypeValidator(boolean nullable,
AttributeDefinition... attributes)
public void validateParameter(String parameterName, org.jboss.dmr.ModelNode value) throws OperationFailedException
ModelTypeValidatorvalidateParameter in interface ParameterValidatorvalidateParameter in class ModelTypeValidatorparameterName - the name of the parameter. Cannot be nullvalue - the parameter value. Cannot be nullOperationFailedException - if the value is not validCopyright © 2020 JBoss by Red Hat. All rights reserved.