public enum DivertConfigurationRoutingType extends Enum<DivertConfigurationRoutingType>
RoutingType
except it has some additional members to support special
configuration semantics for diverts. These additional members weren't put in RoutingType
so as to not
confuse users.Modifier and Type | Method and Description |
---|---|
byte |
getType() |
static DivertConfigurationRoutingType |
getType(byte type) |
static DivertConfigurationRoutingType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DivertConfigurationRoutingType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DivertConfigurationRoutingType MULTICAST
public static final DivertConfigurationRoutingType ANYCAST
public static final DivertConfigurationRoutingType STRIP
public static final DivertConfigurationRoutingType PASS
public static DivertConfigurationRoutingType[] values()
for (DivertConfigurationRoutingType c : DivertConfigurationRoutingType.values()) System.out.println(c);
public static DivertConfigurationRoutingType 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 nullpublic byte getType()
public static DivertConfigurationRoutingType getType(byte type)
Copyright © 2019 JBoss by Red Hat. All rights reserved.