public static enum AppProperties.NETWORK_TYPE extends Enum<AppProperties.NETWORK_TYPE>
Enum Constant and Description |
---|
MY_CONTROLLER |
MY_SENSORS |
PHANT_IO |
PHILIPS_HUE |
RF_LINK |
WUNDERGROUND |
Modifier and Type | Method and Description |
---|---|
static AppProperties.NETWORK_TYPE |
fromString(String text) |
static AppProperties.NETWORK_TYPE |
get(int id) |
String |
getText() |
static AppProperties.NETWORK_TYPE |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AppProperties.NETWORK_TYPE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AppProperties.NETWORK_TYPE MY_SENSORS
public static final AppProperties.NETWORK_TYPE PHANT_IO
public static final AppProperties.NETWORK_TYPE MY_CONTROLLER
public static final AppProperties.NETWORK_TYPE RF_LINK
public static final AppProperties.NETWORK_TYPE PHILIPS_HUE
public static final AppProperties.NETWORK_TYPE WUNDERGROUND
public static AppProperties.NETWORK_TYPE[] values()
for (AppProperties.NETWORK_TYPE c : AppProperties.NETWORK_TYPE.values()) System.out.println(c);
public static AppProperties.NETWORK_TYPE 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 getText()
public static AppProperties.NETWORK_TYPE get(int id)
public static AppProperties.NETWORK_TYPE fromString(String text)
Copyright © 2015–2019. All rights reserved.