public static enum ServletModel.ServletEvent extends Enum<ServletModel.ServletEvent>
Enum Constant and Description |
---|
ADD_INIT_PARAM |
CHANGE_SERVLET_CLASS |
CHANGE_SERVLET_NAME |
REMOVE_INIT_PARAM |
Modifier and Type | Method and Description |
---|---|
static ServletModel.ServletEvent |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServletModel.ServletEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServletModel.ServletEvent CHANGE_SERVLET_NAME
public static final ServletModel.ServletEvent CHANGE_SERVLET_CLASS
public static final ServletModel.ServletEvent ADD_INIT_PARAM
public static final ServletModel.ServletEvent REMOVE_INIT_PARAM
public static ServletModel.ServletEvent[] values()
for (ServletModel.ServletEvent c : ServletModel.ServletEvent.values()) System.out.println(c);
public static ServletModel.ServletEvent 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 © 2005–2016. All rights reserved.