Package com.jcabi.github
Enum Check.Status
- java.lang.Object
-
- java.lang.Enum<Check.Status>
-
- com.jcabi.github.Check.Status
-
- All Implemented Interfaces:
Serializable,Comparable<Check.Status>
- Enclosing interface:
- Check
public static enum Check.Status extends Enum<Check.Status>
Check status. You can read more about it
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPLETEDCompleted.IN_PROGRESSIn progress.QUEUEDQueued.UNDEFINEDUndefined.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Check.StatusfromString(String value)Get status from string.Stringvalue()Status.static Check.StatusvalueOf(String name)Returns the enum constant of this type with the specified name.static Check.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 Check.Status QUEUED
Queued.
-
IN_PROGRESS
public static final Check.Status IN_PROGRESS
In progress.
-
COMPLETED
public static final Check.Status COMPLETED
Completed.
-
UNDEFINED
public static final Check.Status UNDEFINED
Undefined. If GitHub response doesn't contain the Status value.
-
-
Method Detail
-
values
public static Check.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 (Check.Status c : Check.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 Check.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
-
value
public String value()
Status.- Returns:
- Status.
-
fromString
public static Check.Status fromString(String value)
Get status from string.- Parameters:
value- String value.- Returns:
- Status.
-
-