public enum CohortConnectionStatus extends Enum<CohortConnectionStatus> implements Serializable
| Enum Constant and Description |
|---|
CONFIGURATION_ERROR |
CONNECTED |
DISCONNECTED |
DISCONNECTING |
INITIALIZING |
NEW |
NOT_INITIALIZED |
| Modifier and Type | Method and Description |
|---|---|
int |
getStatusCode()
Return the numeric code for the enum.
|
String |
getStatusDescription()
Return the description of the enum.
|
String |
getStatusName()
Return the name for the enum.
|
static CohortConnectionStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CohortConnectionStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CohortConnectionStatus NOT_INITIALIZED
public static final CohortConnectionStatus INITIALIZING
public static final CohortConnectionStatus NEW
public static final CohortConnectionStatus CONFIGURATION_ERROR
public static final CohortConnectionStatus CONNECTED
public static final CohortConnectionStatus DISCONNECTING
public static final CohortConnectionStatus DISCONNECTED
public static CohortConnectionStatus[] values()
for (CohortConnectionStatus c : CohortConnectionStatus.values()) System.out.println(c);
public static CohortConnectionStatus 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 getStatusCode()
public String getStatusName()
public String getStatusDescription()
Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.