@API(status=EXPERIMENTAL,
since="1.2.4")
public enum PropagationMode
extends java.lang.Enum<PropagationMode>
| Enum Constant and Description |
|---|
ALL_DESCENDANTS
Propagate to all children and their children
|
DIRECT_DESCENDANTS
Propagate only to direct children
|
NO_DESCENDANTS
Do not propagate to any children
|
NOT_SET
Default of AddLifecycleHook.propagateTo().
|
| Modifier and Type | Method and Description |
|---|---|
static PropagationMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PropagationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PropagationMode NOT_SET
public static final PropagationMode ALL_DESCENDANTS
public static final PropagationMode DIRECT_DESCENDANTS
public static final PropagationMode NO_DESCENDANTS
public static PropagationMode[] values()
for (PropagationMode c : PropagationMode.values()) System.out.println(c);
public static PropagationMode 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