public enum HandlerPosition extends java.lang.Enum<HandlerPosition>
| Enum Constant and Description |
|---|
POST
Add an annotation handler in the end of the handler chain
|
PRE
Add an annotation handler on the top of the handler chain
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(java.util.List<AnnotationHandler> handler,
AnnotationHandler newHandler) |
static HandlerPosition |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HandlerPosition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HandlerPosition PRE
public static final HandlerPosition POST
public static HandlerPosition[] values()
for (HandlerPosition c : HandlerPosition.values()) System.out.println(c);
public static HandlerPosition 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 nullpublic void add(java.util.List<AnnotationHandler> handler, AnnotationHandler newHandler)