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