Package org.kohsuke.github
Enum GHWorkflowRun.Status
- java.lang.Object
-
- java.lang.Enum<GHWorkflowRun.Status>
-
- org.kohsuke.github.GHWorkflowRun.Status
-
- All Implemented Interfaces:
Serializable
,Comparable<GHWorkflowRun.Status>
- Enclosing class:
- GHWorkflowRun
public static enum GHWorkflowRun.Status extends Enum<GHWorkflowRun.Status>
The Enum Status.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPLETED
The completed.IN_PROGRESS
The in progress.QUEUED
The queued.UNKNOWN
The unknown.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GHWorkflowRun.Status
from(String value)
From.String
toString()
To string.static GHWorkflowRun.Status
valueOf(String name)
Returns the enum constant of this type with the specified name.static GHWorkflowRun.Status[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
QUEUED
public static final GHWorkflowRun.Status QUEUED
The queued.
-
IN_PROGRESS
public static final GHWorkflowRun.Status IN_PROGRESS
The in progress.
-
COMPLETED
public static final GHWorkflowRun.Status COMPLETED
The completed.
-
UNKNOWN
public static final GHWorkflowRun.Status UNKNOWN
The unknown.
-
-
Method Detail
-
values
public static GHWorkflowRun.Status[] 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 (GHWorkflowRun.Status c : GHWorkflowRun.Status.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GHWorkflowRun.Status 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 GHWorkflowRun.Status from(String value)
From.- Parameters:
value
- the value- Returns:
- the status
-
toString
public String toString()
To string.- Overrides:
toString
in classEnum<GHWorkflowRun.Status>
- Returns:
- the string
-
-