public enum ProcessStatus extends Enum<ProcessStatus> implements Serializable
| Enum Constant and Description |
|---|
ACTIVE |
APPROVED |
DRAFT |
PROPOSED |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Return the default description for the key pattern for this enum instance.
|
String |
getName()
Return the default name for this enum instance.
|
int |
getOpenTypeOrdinal()
Return the code for this enum that comes from the Open Metadata Type that this enum represents.
|
int |
getOrdinal()
Return the code for this enum instance
|
String |
toString()
toString() JSON-style
|
static ProcessStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProcessStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProcessStatus UNKNOWN
public static final ProcessStatus DRAFT
public static final ProcessStatus PROPOSED
public static final ProcessStatus APPROVED
public static final ProcessStatus ACTIVE
public static ProcessStatus[] values()
for (ProcessStatus c : ProcessStatus.values()) System.out.println(c);
public static ProcessStatus 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 int getOpenTypeOrdinal()
public String getName()
public String getDescription()
public String toString()
toString in class Enum<ProcessStatus>Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.