public static enum RouterNode.RoutingPolicy extends Enum<RouterNode.RoutingPolicy>
true
for a given stream.Enum Constant and Description |
---|
EVERY_MATCH
The stream will be routed only all successor nodes where the corresponding routing rule
evaluated to
true . |
FIRST_MATCH
The stream will be routed only that successor node that corresponds with the first matching
routing rule.
|
Modifier and Type | Method and Description |
---|---|
static RouterNode.RoutingPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RouterNode.RoutingPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RouterNode.RoutingPolicy FIRST_MATCH
public static final RouterNode.RoutingPolicy EVERY_MATCH
The stream will be routed only all successor nodes where the corresponding routing rule
evaluated to true
.
As result the stream will be multiplexed and forwarded to several subsequent nodes.
public static RouterNode.RoutingPolicy[] values()
for (RouterNode.RoutingPolicy c : RouterNode.RoutingPolicy.values()) System.out.println(c);
public static RouterNode.RoutingPolicy 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 © 2017 levigo holding gmbh. All rights reserved.