|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<DisabledType>
org.jboss.aop.microcontainer.annotations.DisabledType
public enum DisabledType
Fine grained disable type. e.g. LIFECYCLE only disable aop lifecycle callbacks
Enum Constant Summary | |
---|---|
ALL
|
|
LIFECYCLE
|
|
POINTCUTS
|
Method Summary | |
---|---|
boolean |
isDisabled(DisabledType constraint)
Is the type disabled for this constraint. |
static boolean |
isDisabled(DisabledType[] values,
DisabledType constraint)
Do values mark disabled usage. |
boolean |
isEnabled(DisabledType constraint)
Is the type enabled for this constraint. |
static boolean |
isEnabled(DisabledType[] values,
DisabledType constraint)
Do values mark enabled usage. |
static DisabledType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static DisabledType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final DisabledType ALL
public static final DisabledType LIFECYCLE
public static final DisabledType POINTCUTS
Method Detail |
---|
public static DisabledType[] values()
for (DisabledType c : DisabledType.values()) System.out.println(c);
public static DisabledType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic boolean isDisabled(DisabledType constraint)
constraint
- the constraint
public boolean isEnabled(DisabledType constraint)
constraint
- the constraint
public static boolean isDisabled(DisabledType[] values, DisabledType constraint)
values
- the disabled valuesconstraint
- the constraint
public static boolean isEnabled(DisabledType[] values, DisabledType constraint)
values
- the disabled valuesconstraint
- the constraint
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |