public final class LogLevelValidator extends ModelTypeValidator implements AllowedValuesValidator
Level.
Date: 13.07.2011| Modifier and Type | Field and Description |
|---|---|
static Level[] |
LEVELS |
BIGDECIMAL_MAX, BIGDECIMAL_MIN, BIGINTEGER_MAX, BIGINTEGER_MIN, nullable, strictType, validTypes| Constructor and Description |
|---|
LogLevelValidator(boolean nullable) |
LogLevelValidator(boolean nullable,
boolean allowExpressions) |
LogLevelValidator(boolean nullable,
boolean allowExpressions,
Level... levels) |
LogLevelValidator(boolean nullable,
Level... levels) |
| Modifier and Type | Method and Description |
|---|---|
List<org.jboss.dmr.ModelNode> |
getAllowedValues() |
void |
validateParameter(String parameterName,
org.jboss.dmr.ModelNode value) |
validateResolvedParameterpublic static final Level[] LEVELS
public LogLevelValidator(boolean nullable)
public LogLevelValidator(boolean nullable,
Level... levels)
public LogLevelValidator(boolean nullable,
boolean allowExpressions)
public LogLevelValidator(boolean nullable,
boolean allowExpressions,
Level... levels)
public void validateParameter(String parameterName, org.jboss.dmr.ModelNode value) throws OperationFailedException
validateParameter in interface ParameterValidatorvalidateParameter in class ModelTypeValidatorOperationFailedExceptionpublic List<org.jboss.dmr.ModelNode> getAllowedValues()
getAllowedValues in interface AllowedValuesValidatorCopyright © 2016 JBoss by Red Hat. All rights reserved.