public static enum CancellationPolicy.Propagation extends java.lang.Enum<CancellationPolicy.Propagation>
Enum Constant and Description |
---|
IGNORE
Do not cancel the annotated component when a child component is cancelled.
|
PROPAGATE
Cancel the annotated component when a child component is cancelled.
|
Modifier and Type | Method and Description |
---|---|
static CancellationPolicy.Propagation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CancellationPolicy.Propagation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CancellationPolicy.Propagation PROPAGATE
public static final CancellationPolicy.Propagation IGNORE
public static CancellationPolicy.Propagation[] values()
for (CancellationPolicy.Propagation c : CancellationPolicy.Propagation.values()) System.out.println(c);
public static CancellationPolicy.Propagation 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