public static enum AppProperties.RESOURCE_TYPE extends Enum<AppProperties.RESOURCE_TYPE>
Enum Constant and Description |
---|
FORWARD_PAYLOAD |
GATEWAY |
NODE |
RESOURCES_GROUP |
RULE_DEFINITION |
SCRIPT |
SENSOR |
SENSOR_VARIABLE |
TIMER |
UID_TAG |
Modifier and Type | Method and Description |
---|---|
static AppProperties.RESOURCE_TYPE |
fromString(String text) |
static AppProperties.RESOURCE_TYPE |
get(int id) |
String |
getText() |
static AppProperties.RESOURCE_TYPE |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AppProperties.RESOURCE_TYPE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AppProperties.RESOURCE_TYPE GATEWAY
public static final AppProperties.RESOURCE_TYPE NODE
public static final AppProperties.RESOURCE_TYPE SENSOR
public static final AppProperties.RESOURCE_TYPE SENSOR_VARIABLE
public static final AppProperties.RESOURCE_TYPE RESOURCES_GROUP
public static final AppProperties.RESOURCE_TYPE RULE_DEFINITION
public static final AppProperties.RESOURCE_TYPE TIMER
public static final AppProperties.RESOURCE_TYPE SCRIPT
public static final AppProperties.RESOURCE_TYPE UID_TAG
public static final AppProperties.RESOURCE_TYPE FORWARD_PAYLOAD
public static AppProperties.RESOURCE_TYPE[] values()
for (AppProperties.RESOURCE_TYPE c : AppProperties.RESOURCE_TYPE.values()) System.out.println(c);
public static AppProperties.RESOURCE_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 AppProperties.RESOURCE_TYPE get(int id)
public String getText()
public static AppProperties.RESOURCE_TYPE fromString(String text)
Copyright © 2015–2019. All rights reserved.