| Package | Description |
|---|---|
| org.jboss.as.controller.operations.validation |
| Modifier and Type | Method and Description |
|---|---|
static <E extends Enum<E>> |
EnumValidator.create(Class<E> enumType,
boolean nullable,
boolean allowExpressions)
Deprecated.
use
create(Class, EnumSet) with EnumSet.allOf(Class) since AttributeDefinition handles the nullable and expression checks. |
static <E extends Enum<E>> |
EnumValidator.create(Class<E> enumType,
boolean nullable,
boolean allowExpressions,
E... allowed)
Deprecated.
use
create(Class, Enum[]) since AttributeDefinition handles the nullable and expression checks. |
static <E extends Enum<E>> |
EnumValidator.create(Class<E> enumType,
boolean nullable,
E... allowed)
Deprecated.
use
create(Class, Enum[]) since AttributeDefinition handles the nullable check. |
static <E extends Enum<E>> |
EnumValidator.create(Class<E> enumType,
E... allowed)
Creates a new validator for the enum type with the allowed values defined in the
allowed parameter. |
static <E extends Enum<E>> |
EnumValidator.create(Class<E> enumType,
EnumSet<E> allowed)
Creates a new validator for the enum type with the allowed values defined in the
allowed parameter. |
Copyright © 2021 JBoss by Red Hat. All rights reserved.