public enum RoutingHint extends java.lang.Enum<RoutingHint>
| Modifier and Type | Method and Description |
|---|---|
static @Nullable RoutingHint |
fromString(@Nullable java.lang.String value)
Parses a routing hint keyword into the corresponding enum value.
|
static RoutingHint |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RoutingHint[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RoutingHint READER
public static final RoutingHint WRITER
public static final RoutingHint KEEP
public static RoutingHint[] values()
for (RoutingHint c : RoutingHint.values()) System.out.println(c);
public static RoutingHint 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 nullpublic static @Nullable RoutingHint fromString(@Nullable java.lang.String value)
value - the hint keyword (case-insensitive), e.g. "reader", "writer", or "keep"RoutingHint, or null if the value is null or unrecognized