Class PathAddressValidator
java.lang.Object
org.jboss.as.controller.operations.validation.PathAddressValidator
- All Implemented Interfaces:
ParameterValidator
Validates that a node can be converted to a
PathAddress.- Author:
- Brian Stansberry
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvalidateParameter(String parameterName, org.jboss.dmr.ModelNode value) Validate the parameter with the given name.
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
PathAddressValidator
public PathAddressValidator()
-
-
Method Details
-
validateParameter
public void validateParameter(String parameterName, org.jboss.dmr.ModelNode value) throws OperationFailedException 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
-