Class ParametersOfValidator
- java.lang.Object
-
- org.jboss.as.controller.operations.validation.ParametersOfValidator
-
- All Implemented Interfaces:
AllowedValuesValidator,MinMaxValidator,ParameterValidator
@Deprecated public class ParametersOfValidator extends Object implements ParameterValidator, MinMaxValidator, AllowedValuesValidator
Deprecated.RepurposesParametersValidatorfrom validating an operation model node to validating a complex attribute.- Author:
- Carlo de Wolf
-
-
Constructor Summary
Constructors Constructor Description ParametersOfValidator(ParametersValidator delegate)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description List<org.jboss.dmr.ModelNode>getAllowedValues()Deprecated.Gets the allowed values, ornullif any value is allowed.LonggetMax()Deprecated.Gets the maximum, if there is one.LonggetMin()Deprecated.Gets the minimum, if there is one.voidvalidateParameter(String parameterName, org.jboss.dmr.ModelNode value)Deprecated.Validate the parameter with the given name.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jboss.as.controller.operations.validation.ParameterValidator
validateResolvedParameter
-
-
-
-
Constructor Detail
-
ParametersOfValidator
public ParametersOfValidator(ParametersValidator delegate)
Deprecated.
-
-
Method Detail
-
validateParameter
public void validateParameter(String parameterName, org.jboss.dmr.ModelNode value) throws OperationFailedException
Deprecated.Description copied from interface:ParameterValidatorValidate the parameter with the given name.- Specified by:
validateParameterin interfaceParameterValidator- Parameters:
parameterName- the name of the parameter. Cannot benullvalue- the parameter value. Cannot benull- Throws:
OperationFailedException- if the value is not valid
-
getMin
public Long getMin()
Deprecated.Description copied from interface:MinMaxValidatorGets the minimum, if there is one.- Specified by:
getMinin interfaceMinMaxValidator- Returns:
- the minimum value, or
nullif there is no minimum
-
getMax
public Long getMax()
Deprecated.Description copied from interface:MinMaxValidatorGets the maximum, if there is one.- Specified by:
getMaxin interfaceMinMaxValidator- Returns:
- the maximum value, or
nullif there is no minimum
-
getAllowedValues
public List<org.jboss.dmr.ModelNode> getAllowedValues()
Deprecated.Description copied from interface:AllowedValuesValidatorGets the allowed values, ornullif any value is allowed.- Specified by:
getAllowedValuesin interfaceAllowedValuesValidator- Returns:
- the allowed values, or
null
-
-