Package com.spotify.github.v3.checks
Enum CheckRunConclusion
- java.lang.Object
-
- java.lang.Enum<CheckRunConclusion>
-
- com.spotify.github.v3.checks.CheckRunConclusion
-
- All Implemented Interfaces:
Serializable
,Comparable<CheckRunConclusion>
public enum CheckRunConclusion extends Enum<CheckRunConclusion>
The enum Check run conclusion.- See Also:
- "https://developer.github.com/v3/checks/runs/"
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CheckRunConclusion
valueOf(String name)
Returns the enum constant of this type with the specified name.static CheckRunConclusion[]
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 CheckRunConclusion action_required
-
cancelled
public static final CheckRunConclusion cancelled
-
timed_out
public static final CheckRunConclusion timed_out
-
failure
public static final CheckRunConclusion failure
-
neutral
public static final CheckRunConclusion neutral
-
success
public static final CheckRunConclusion success
-
stale
public static final CheckRunConclusion stale
-
-
Method Detail
-
values
public static CheckRunConclusion[] 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 (CheckRunConclusion c : CheckRunConclusion.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CheckRunConclusion 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
-
-