public static enum ConsulEndpointBuilderFactory.ConsistencyMode extends Enum<ConsulEndpointBuilderFactory.ConsistencyMode>
com.orbitz.consul.option.ConsistencyMode
enum.| Enum Constant and Description |
|---|
CONSISTENT |
DEFAULT |
STALE |
| Modifier and Type | Method and Description |
|---|---|
static ConsulEndpointBuilderFactory.ConsistencyMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConsulEndpointBuilderFactory.ConsistencyMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConsulEndpointBuilderFactory.ConsistencyMode DEFAULT
public static final ConsulEndpointBuilderFactory.ConsistencyMode STALE
public static final ConsulEndpointBuilderFactory.ConsistencyMode CONSISTENT
public static ConsulEndpointBuilderFactory.ConsistencyMode[] values()
for (ConsulEndpointBuilderFactory.ConsistencyMode c : ConsulEndpointBuilderFactory.ConsistencyMode.values()) System.out.println(c);
public static ConsulEndpointBuilderFactory.ConsistencyMode 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 nullApache Camel