Package com.jcabi.github
Enum Check.Conclusion
- java.lang.Object
-
- java.lang.Enum<Check.Conclusion>
-
- com.jcabi.github.Check.Conclusion
-
- All Implemented Interfaces:
Serializable,Comparable<Check.Conclusion>
- Enclosing interface:
- Check
public static enum Check.Conclusion extends Enum<Check.Conclusion>
Check conclusion. You can read more about it
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Check.ConclusionfromString(String value)Get conclusion from string.Stringvalue()Conclusion.static Check.ConclusionvalueOf(String name)Returns the enum constant of this type with the specified name.static Check.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 Check.Conclusion ACTION_REQUIRED
Action required.
-
CANCELLED
public static final Check.Conclusion CANCELLED
Cancelled.
-
FAILURE
public static final Check.Conclusion FAILURE
Failure.
-
NEUTRAL
public static final Check.Conclusion NEUTRAL
Neutral.
-
SUCCESS
public static final Check.Conclusion SUCCESS
Success.
-
SKIPPED
public static final Check.Conclusion SKIPPED
Skipped.
-
STALE
public static final Check.Conclusion STALE
Stale.
-
TIMED_OUT
public static final Check.Conclusion TIMED_OUT
Timed out.
-
UNDEFINED
public static final Check.Conclusion UNDEFINED
Undefined. If GitHub response doesn't contain the Conclusion value.
-
-
Method Detail
-
values
public static Check.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 (Check.Conclusion c : Check.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 Check.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
-
fromString
public static Check.Conclusion fromString(String value)
Get conclusion from string.- Parameters:
value- String value.- Returns:
- Conclusion.
-
value
public String value()
Conclusion.- Returns:
- Conclusion.
-
-