public enum Propagation extends Enum<Propagation>
| Enum Constant and Description |
|---|
MANDATORY |
NESTED |
NEVER |
NOT_SUPPORTED |
REQUIRED |
REQUIRES_NEW |
SUPPORTS |
| Modifier and Type | Method and Description |
|---|---|
static Propagation |
getPropagation(int value) |
int |
value() |
static Propagation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Propagation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Propagation MANDATORY
public static final Propagation NEVER
public static final Propagation NESTED
public static final Propagation NOT_SUPPORTED
public static final Propagation REQUIRED
public static final Propagation REQUIRES_NEW
public static final Propagation SUPPORTS
public static Propagation[] values()
for (Propagation c : Propagation.values()) System.out.println(c);
public static Propagation 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 static Propagation getPropagation(int value)
public int value()