@ThingworxExtensionApiClass(since={6,6}) public enum QualityStatus extends java.lang.Enum<QualityStatus>
Enum Constant and Description |
---|
BAD
The status is bad.
|
GOOD
The status is good.
|
OUT_OF_RANGE
The status is out of range.
|
UNKNOWN
The status is unknown.
|
UNVERIFIED_SOURCE
The status is unverified source.
|
Modifier and Type | Method and Description |
---|---|
byte |
code()
|
static QualityStatus |
fromCode(byte code)
|
static QualityStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static QualityStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QualityStatus BAD
public static final QualityStatus OUT_OF_RANGE
public static final QualityStatus UNKNOWN
public static final QualityStatus GOOD
public static final QualityStatus UNVERIFIED_SOURCE
public static QualityStatus[] values()
for (QualityStatus c : QualityStatus.values()) System.out.println(c);
public static QualityStatus 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@ThingworxExtensionApiMethod(since={6,6}) public byte code()
@ThingworxExtensionApiMethod(since={6,6}) public static QualityStatus fromCode(byte code)
code
- The code equivalent of the QualityStatus
enumeration.QualityStatus
of the code provided, or null if the code is not recognized.