public enum RestrictionLevel extends Enum<RestrictionLevel>
| Modifier and Type | Method and Description |
|---|---|
static RestrictionLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RestrictionLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RestrictionLevel RELAX
public static final RestrictionLevel WARN
public static final RestrictionLevel REJECT
public static RestrictionLevel[] values()
for (RestrictionLevel c : RestrictionLevel.values()) System.out.println(c);
public static RestrictionLevel valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullCopyright © 2015 JBoss by Red Hat. All rights reserved.