public final class OverflowActionValidator extends ModelTypeValidator implements AllowedValuesValidator
nullable, strictType, validTypes
Constructor and Description |
---|
OverflowActionValidator(boolean nullable) |
OverflowActionValidator(boolean nullable,
boolean allowExpressions) |
Modifier and Type | Method and Description |
---|---|
List<org.jboss.dmr.ModelNode> |
getAllowedValues()
Gets the allowed values, or
null if any value is allowed. |
void |
validateParameter(String parameterName,
org.jboss.dmr.ModelNode value)
Validate the parameter with the given name.
|
validateResolvedParameter
public OverflowActionValidator(boolean nullable)
public OverflowActionValidator(boolean nullable, boolean allowExpressions)
public void validateParameter(String parameterName, org.jboss.dmr.ModelNode value) throws OperationFailedException
ModelTypeValidator
validateParameter
in interface ParameterValidator
validateParameter
in class ModelTypeValidator
parameterName
- the name of the parameter. Cannot be null
value
- the parameter value. Cannot be null
OperationFailedException
- if the value is not validpublic List<org.jboss.dmr.ModelNode> getAllowedValues()
AllowedValuesValidator
null
if any value is allowed.getAllowedValues
in interface AllowedValuesValidator
null
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.