Class PathAddressValidator
- java.lang.Object
-
- org.jboss.as.controller.operations.validation.PathAddressValidator
-
- All Implemented Interfaces:
ParameterValidator
public class PathAddressValidator extends Object implements ParameterValidator
Validates that a node can be converted to aPathAddress.- Author:
- Brian Stansberry
-
-
Field Summary
Fields Modifier and Type Field Description static PathAddressValidatorINSTANCE
-
Constructor Summary
Constructors Constructor Description PathAddressValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidvalidateParameter(String parameterName, org.jboss.dmr.ModelNode value)Validate the parameter with the given name.
-
-
-
Field Detail
-
INSTANCE
public static final PathAddressValidator INSTANCE
-
-
Method Detail
-
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
-
-