public enum PropagationMode extends Enum<PropagationMode>
Enum Constant and Description |
---|
BOTH_WAYS
Propagate in both directions
|
ONLY_DOWN
Propagate to downstreams only
|
ONLY_UP
Propagate to upstream only
|
Modifier and Type | Method and Description |
---|---|
static PropagationMode |
valueOf(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 BOTH_WAYS
public static final PropagationMode ONLY_UP
public static final PropagationMode ONLY_DOWN
public static PropagationMode[] values()
for (PropagationMode c : PropagationMode.values()) System.out.println(c);
public static PropagationMode 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 nullCopyright © 2020. All rights reserved.