public static enum Listener.Observation extends Enum<Listener.Observation>
Modifier and Type | Method and Description |
---|---|
abstract boolean |
shouldInvoke(boolean pre) |
static Listener.Observation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Listener.Observation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Listener.Observation PRE
public static final Listener.Observation POST
public static final Listener.Observation BOTH
public static Listener.Observation[] values()
for (Listener.Observation c : Listener.Observation.values()) System.out.println(c);
public static Listener.Observation 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 abstract boolean shouldInvoke(boolean pre)
Copyright © 2015 JBoss, a division of Red Hat. All rights reserved.