public class URIValidator extends StringLengthValidator
ParameterValidator
to verify that a parameter is a correctly formed URI.max, min
BIGDECIMAL_MAX, BIGDECIMAL_MIN, BIGINTEGER_MAX, BIGINTEGER_MIN, nullable, strictType, validTypes
Constructor and Description |
---|
URIValidator(boolean nullable,
boolean allowExpressions) |
Modifier and Type | Method and Description |
---|---|
void |
validateParameter(String parameterName,
org.jboss.dmr.ModelNode value)
Validate the parameter with the given name.
|
getMax, getMin
validateResolvedParameter
public void validateParameter(String parameterName, org.jboss.dmr.ModelNode value) throws OperationFailedException
StringLengthValidator
validateParameter
in interface ParameterValidator
validateParameter
in class StringLengthValidator
parameterName
- the name of the parameter. Cannot be null
value
- the parameter value. Cannot be null
OperationFailedException
- if the value is not validCopyright © 2023 JBoss by Red Hat. All rights reserved.