@API(status=MAINTAINED,
     since="1.4.0")
public enum PropagationMode
extends java.lang.Enum<PropagationMode>
| Enum Constant and Description | 
|---|
| ALL_DESCENDANTSPropagate to all children and their children | 
| DIRECT_DESCENDANTSPropagate only to direct children | 
| NO_DESCENDANTSDo not propagate to any children | 
| NOT_SETDefault 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