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