public class ProxyListValidator extends Object implements ParameterValidator
Constructor and Description |
---|
ProxyListValidator() |
Modifier and Type | Method and Description |
---|---|
void |
validateParameter(String parameterName,
org.jboss.dmr.ModelNode value)
Validate the parameter with the given name.
|
void |
validateResolvedParameter(String parameterName,
org.jboss.dmr.ModelNode value)
Validate the parameter with the given name, after first
resolving the given value . |
public void validateParameter(String parameterName, org.jboss.dmr.ModelNode value) throws OperationFailedException
ParameterValidator
validateParameter
in interface ParameterValidator
parameterName
- the name of the parameter. Cannot be null
value
- the parameter value. Cannot be null
OperationFailedException
- if the value is not validpublic void validateResolvedParameter(String parameterName, org.jboss.dmr.ModelNode value) throws OperationFailedException
ParameterValidator
resolving
the given value
.validateResolvedParameter
in interface ParameterValidator
parameterName
- the name of the parameter. Cannot be null
value
- the parameter value. Cannot be null
OperationFailedException
- if the value is not validCopyright © 2015 JBoss by Red Hat. All rights reserved.