public static enum Action.Hook extends Enum<Action.Hook>
Enum Constant and Description |
---|
POST
The event can be considered after the action execution.
|
PRE
The event can be considered before executing the action.
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static Action.Hook |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Action.Hook[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Action.Hook PRE
public static final Action.Hook POST
public static Action.Hook[] values()
for (Action.Hook c : Action.Hook.values()) System.out.println(c);
public static Action.Hook 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 String toString()
toString
in class Enum<Action.Hook>
Copyright © 2015 University of Nice-Sophia Antipolis. All Rights Reserved.