public enum StitchRegion extends Enum<StitchRegion>
| Enum Constant and Description |
|---|
EUROPE |
NORTH_AMERICA |
| Modifier and Type | Method and Description |
|---|---|
static StitchRegion |
fromString(String regionAsText) |
String |
getUrl() |
static StitchRegion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StitchRegion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StitchRegion NORTH_AMERICA
public static final StitchRegion EUROPE
public static StitchRegion[] values()
for (StitchRegion c : StitchRegion.values()) System.out.println(c);
public static StitchRegion 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 String getUrl()
public static StitchRegion fromString(String regionAsText)
Apache Camel