Enum AnalyticsStatus
- java.lang.Object
-
- java.lang.Enum<AnalyticsStatus>
-
- com.couchbase.client.java.analytics.AnalyticsStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<AnalyticsStatus>
public enum AnalyticsStatus extends Enum<AnalyticsStatus>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AnalyticsStatus
from(String wireName)
static AnalyticsStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static AnalyticsStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RUNNING
public static final AnalyticsStatus RUNNING
-
SUCCESS
public static final AnalyticsStatus SUCCESS
-
ERRORS
public static final AnalyticsStatus ERRORS
-
COMPLETED
public static final AnalyticsStatus COMPLETED
-
STOPPED
public static final AnalyticsStatus STOPPED
-
TIMEOUT
public static final AnalyticsStatus TIMEOUT
-
CLOSED
public static final AnalyticsStatus CLOSED
-
FATAL
public static final AnalyticsStatus FATAL
-
ABORTED
public static final AnalyticsStatus ABORTED
-
UNKNOWN
public static final AnalyticsStatus UNKNOWN
-
-
Method Detail
-
values
public static AnalyticsStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AnalyticsStatus c : AnalyticsStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AnalyticsStatus valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
from
public static AnalyticsStatus from(String wireName)
-
-