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.RepurposesParametersValidator
from 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, ornull
if any value is allowed.Long
getMax()
Deprecated.Gets the maximum, if there is one.Long
getMin()
Deprecated.Gets the minimum, if there is one.void
validateParameter(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:ParameterValidator
Validate the parameter with the given name.- Specified by:
validateParameter
in interfaceParameterValidator
- Parameters:
parameterName
- the name of the parameter. Cannot benull
value
- the parameter value. Cannot benull
- Throws:
OperationFailedException
- if the value is not valid
-
getMin
public Long getMin()
Deprecated.Description copied from interface:MinMaxValidator
Gets the minimum, if there is one.- Specified by:
getMin
in interfaceMinMaxValidator
- Returns:
- the minimum value, or
null
if there is no minimum
-
getMax
public Long getMax()
Deprecated.Description copied from interface:MinMaxValidator
Gets the maximum, if there is one.- Specified by:
getMax
in interfaceMinMaxValidator
- Returns:
- the maximum value, or
null
if there is no minimum
-
getAllowedValues
public List<org.jboss.dmr.ModelNode> getAllowedValues()
Deprecated.Description copied from interface:AllowedValuesValidator
Gets the allowed values, ornull
if any value is allowed.- Specified by:
getAllowedValues
in interfaceAllowedValuesValidator
- Returns:
- the allowed values, or
null
-
-