public static enum ServletConfigurator.ConfigSource extends java.lang.Enum<ServletConfigurator.ConfigSource>
| Enum Constant and Description |
|---|
ANNOTATION |
WEB_FRAGMENT |
WEB_XML |
| Modifier and Type | Method and Description |
|---|---|
static ServletConfigurator.ConfigSource |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ServletConfigurator.ConfigSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServletConfigurator.ConfigSource WEB_XML
public static final ServletConfigurator.ConfigSource WEB_FRAGMENT
public static final ServletConfigurator.ConfigSource ANNOTATION
public static ServletConfigurator.ConfigSource[] values()
for (ServletConfigurator.ConfigSource c : ServletConfigurator.ConfigSource.values()) System.out.println(c);
public static ServletConfigurator.ConfigSource valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namejava.lang.NullPointerException - if the argument is null