public enum Broadcast extends Enum<Broadcast>
Enum Constant and Description |
---|
BREADTH
Breadth first traversal.
|
BUBBLE
A bubble-up traversal.
|
DEPTH
Depth first traversal.
|
EXACT
Only the specified sink receives the event
|
Modifier and Type | Method and Description |
---|---|
static Broadcast |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Broadcast[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Broadcast BREADTH
public static final Broadcast DEPTH
public static final Broadcast BUBBLE
Application
, eg:
public static final Broadcast EXACT
public static Broadcast[] values()
for (Broadcast c : Broadcast.values()) System.out.println(c);
public static Broadcast 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 © 2006–2022 Apache Software Foundation. All rights reserved.