Package org.gitlab4j.api.models
Enum Runner.RunnerStatus
- java.lang.Object
-
- java.lang.Enum<Runner.RunnerStatus>
-
- org.gitlab4j.api.models.Runner.RunnerStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<Runner.RunnerStatus>
,java.lang.constant.Constable
- Enclosing class:
- Runner
public static enum Runner.RunnerStatus extends Enum<Runner.RunnerStatus>
Enum to use for RunnersApi filtering on status.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
-
Method Summary
Modifier and Type Method Description static Runner.RunnerStatus
forValue(String value)
String
toString()
String
toValue()
static Runner.RunnerStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static Runner.RunnerStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SPECIFIC
@Deprecated public static final Runner.RunnerStatus SPECIFIC
Deprecated.This RunnerStatus value is deprecated and will be removed in a future release.
-
SHARED
@Deprecated public static final Runner.RunnerStatus SHARED
Deprecated.This RunnerStatus value is deprecated and will be removed in a future release.
-
ACTIVE
public static final Runner.RunnerStatus ACTIVE
-
ONLINE
public static final Runner.RunnerStatus ONLINE
-
PAUSED
public static final Runner.RunnerStatus PAUSED
-
OFFLINE
public static final Runner.RunnerStatus OFFLINE
-
-
Method Detail
-
values
public static Runner.RunnerStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Runner.RunnerStatus 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
-
forValue
public static Runner.RunnerStatus forValue(String value)
-
toValue
public String toValue()
-
toString
public String toString()
- Overrides:
toString
in classEnum<Runner.RunnerStatus>
-
-