public class MaskedAddressValidator extends ModelTypeValidator
Modifier and Type | Class and Description |
---|---|
static class |
MaskedAddressValidator.ParsedResult |
BIGDECIMAL_MAX, BIGDECIMAL_MIN, BIGINTEGER_MAX, BIGINTEGER_MIN, nullable, strictType, validTypes
Constructor and Description |
---|
MaskedAddressValidator(boolean nullable,
boolean allowExpressions) |
Modifier and Type | Method and Description |
---|---|
static MaskedAddressValidator.ParsedResult |
parseMasked(org.jboss.dmr.ModelNode value) |
void |
validateParameter(String parameterName,
org.jboss.dmr.ModelNode value)
Validate the parameter with the given name.
|
validateResolvedParameter
public MaskedAddressValidator(boolean nullable, boolean allowExpressions)
public void validateParameter(String parameterName, org.jboss.dmr.ModelNode value) throws OperationFailedException
validateParameter
in interface ParameterValidator
validateParameter
in class ModelTypeValidator
parameterName
- the name of the parameter. Cannot be null
value
- the parameter value. Cannot be null
OperationFailedException
- if the value is not validpublic static MaskedAddressValidator.ParsedResult parseMasked(org.jboss.dmr.ModelNode value) throws OperationFailedException
OperationFailedException
Copyright © 2023 JBoss by Red Hat. All rights reserved.