public class PathAddressValidator extends Object implements ParameterValidator
PathAddress.| Modifier and Type | Field and Description |
|---|---|
static PathAddressValidator |
INSTANCE |
| Constructor and Description |
|---|
PathAddressValidator() |
| 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 static final PathAddressValidator INSTANCE
public void validateParameter(String parameterName, org.jboss.dmr.ModelNode value) throws OperationFailedException
ParameterValidatorvalidateParameter in interface ParameterValidatorparameterName - the name of the parameter. Cannot be nullvalue - the parameter value. Cannot be nullOperationFailedException - if the value is not validpublic void validateResolvedParameter(String parameterName, org.jboss.dmr.ModelNode value) throws OperationFailedException
ParameterValidatorresolving the given value.validateResolvedParameter in interface ParameterValidatorparameterName - the name of the parameter. Cannot be nullvalue - the parameter value. Cannot be nullOperationFailedException - if the value is not validCopyright © 2017 JBoss by Red Hat. All rights reserved.