@ThingworxExtensionApiClass(since={6,6}) public enum ThingState extends java.lang.Enum<ThingState>
Enum Constant and Description |
---|
DISABLED |
ERROR |
OFF |
ON |
STARTING |
STOPPING |
Modifier and Type | Method and Description |
---|---|
static ThingState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ThingState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ThingState DISABLED
public static final ThingState STARTING
public static final ThingState ERROR
public static final ThingState STOPPING
public static final ThingState OFF
public static final ThingState ON
public static ThingState[] values()
for (ThingState c : ThingState.values()) System.out.println(c);
public static ThingState valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null