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