Package org.kohsuke.github
Enum GHWorkflowRun.Conclusion
- java.lang.Object
-
- java.lang.Enum<GHWorkflowRun.Conclusion>
-
- org.kohsuke.github.GHWorkflowRun.Conclusion
-
- All Implemented Interfaces:
Serializable,Comparable<GHWorkflowRun.Conclusion>
- Enclosing class:
- GHWorkflowRun
public static enum GHWorkflowRun.Conclusion extends Enum<GHWorkflowRun.Conclusion>
The Enum Conclusion.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GHWorkflowRun.Conclusionfrom(String value)From.StringtoString()To string.static GHWorkflowRun.ConclusionvalueOf(String name)Returns the enum constant of this type with the specified name.static GHWorkflowRun.Conclusion[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACTION_REQUIRED
public static final GHWorkflowRun.Conclusion ACTION_REQUIRED
The action required.
-
CANCELLED
public static final GHWorkflowRun.Conclusion CANCELLED
The cancelled.
-
FAILURE
public static final GHWorkflowRun.Conclusion FAILURE
The failure.
-
NEUTRAL
public static final GHWorkflowRun.Conclusion NEUTRAL
The neutral.
-
SUCCESS
public static final GHWorkflowRun.Conclusion SUCCESS
The success.
-
SKIPPED
public static final GHWorkflowRun.Conclusion SKIPPED
The skipped.
-
STALE
public static final GHWorkflowRun.Conclusion STALE
The stale.
-
TIMED_OUT
public static final GHWorkflowRun.Conclusion TIMED_OUT
The timed out.
-
UNKNOWN
public static final GHWorkflowRun.Conclusion UNKNOWN
The unknown.
-
-
Method Detail
-
values
public static GHWorkflowRun.Conclusion[] 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.Conclusion c : GHWorkflowRun.Conclusion.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.Conclusion 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.Conclusion from(String value)
From.- Parameters:
value- the value- Returns:
- the conclusion
-
toString
public String toString()
To string.- Overrides:
toStringin classEnum<GHWorkflowRun.Conclusion>- Returns:
- the string
-
-