public enum PlatformStatus extends Enum<PlatformStatus>
| Enum Constant and Description |
|---|
ACTIVE |
NOT_CONTACTABLE |
OTHER |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Return the description for the enum.
|
String |
getName()
Return the descriptive name for the enum.
|
int |
getOrdinal()
Return the numerical value for the enum.
|
String |
toString()
toString() JSON-style
|
static PlatformStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PlatformStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlatformStatus UNKNOWN
public static final PlatformStatus ACTIVE
public static final PlatformStatus NOT_CONTACTABLE
public static final PlatformStatus OTHER
public static PlatformStatus[] values()
for (PlatformStatus c : PlatformStatus.values()) System.out.println(c);
public static PlatformStatus 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 int getOrdinal()
public String getName()
public String getDescription()
public String toString()
toString in class Enum<PlatformStatus>Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.