public enum WebAction extends Enum<WebAction>
PropertyTypeRenderer.renderWriteable(dk.heick.properties.Property, String, String)
,
WebName.ACTION
Enum Constant and Description |
---|
ADD |
BACKUP |
DELETE |
MOVEDOWN |
MOVEUP |
RELOAD |
REMOVE |
SET |
Modifier and Type | Method and Description |
---|---|
static WebAction |
parse(javax.servlet.http.HttpServletRequest request)
Using the paremeter name
WebName.ACTION.name() to retrieve what kind if WebAction we want to perform. |
static WebAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WebAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WebAction SET
public static final WebAction ADD
public static final WebAction REMOVE
public static final WebAction RELOAD
public static final WebAction BACKUP
public static final WebAction DELETE
public static final WebAction MOVEUP
public static final WebAction MOVEDOWN
public static WebAction[] values()
for (WebAction c : WebAction.values()) System.out.println(c);
public static WebAction 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 nullpublic static WebAction parse(javax.servlet.http.HttpServletRequest request)
WebName.ACTION.name()
to retrieve what kind if WebAction we want to perform.request
- the HttpServletRequestWebName.ACTION.name()
.