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 PathAddressValidator
INSTANCE
-
Constructor Summary
Constructors Constructor Description PathAddressValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
validateParameter(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: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
-
-