public static enum Inheritance.Mode extends java.lang.Enum<Inheritance.Mode>
Inheritance
for a description of the different modes.Enum Constant and Description |
---|
NONE
No methods in derived classes will be instrumented.
|
WITH_SUBCLASS_NAMES
All public methods in derived classes will be instrumented, using the name of the derived class for
transaction naming.
|
WITH_SUPERCLASS_NAME
All public methods in derived classes will be instrumented, using the name of the annotated class for
transaction naming.
|
Modifier and Type | Method and Description |
---|---|
static Inheritance.Mode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Inheritance.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Inheritance.Mode NONE
public static final Inheritance.Mode WITH_SUBCLASS_NAMES
ClassTransaction
, if Inheritance.implementingOnly()
is set to
true, only overridden and implementing methods in derived classes create transactions.Inheritance
public static final Inheritance.Mode WITH_SUPERCLASS_NAME
ClassTransaction
, if Inheritance.implementingOnly()
is set to
true, only overridden and implementing methods in derived classes create transactions.Inheritance
public static Inheritance.Mode[] values()
for (Inheritance.Mode c : Inheritance.Mode.values()) System.out.println(c);
public static Inheritance.Mode 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 null