Enum EventingFunctionStatus
- java.lang.Object
-
- java.lang.Enum<EventingFunctionStatus>
-
- com.couchbase.client.java.manager.eventing.EventingFunctionStatus
-
- All Implemented Interfaces:
Serializable,Comparable<EventingFunctionStatus>
public enum EventingFunctionStatus extends Enum<EventingFunctionStatus>
The compound status an eventing function can be in at any given point in time.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEPLOYEDThe function is deployed.DEPLOYINGThe function is currently being deployed.PAUSEDThe function is paused.PAUSINGThe function is currently being paused.UNDEPLOYEDThe function is not deployed.UNDEPLOYINGThe function is currently being undeployed.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EventingFunctionStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static EventingFunctionStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNDEPLOYED
public static final EventingFunctionStatus UNDEPLOYED
The function is not deployed.
-
DEPLOYING
public static final EventingFunctionStatus DEPLOYING
The function is currently being deployed.
-
DEPLOYED
public static final EventingFunctionStatus DEPLOYED
The function is deployed.
-
UNDEPLOYING
public static final EventingFunctionStatus UNDEPLOYING
The function is currently being undeployed.
-
PAUSED
public static final EventingFunctionStatus PAUSED
The function is paused.
-
PAUSING
public static final EventingFunctionStatus PAUSING
The function is currently being paused.
-
-
Method Detail
-
values
public static EventingFunctionStatus[] 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 (EventingFunctionStatus c : EventingFunctionStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EventingFunctionStatus 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
-
-