public enum WeatherApi extends Enum<WeatherApi>
Modifier and Type | Method and Description |
---|---|
static WeatherApi |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WeatherApi[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WeatherApi Current
public static final WeatherApi Station
public static final WeatherApi Hourly
public static final WeatherApi Daily
public static WeatherApi[] values()
for (WeatherApi c : WeatherApi.values()) System.out.println(c);
public static WeatherApi 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