Package org.kohsuke.github
Enum GHCompare.Status
- java.lang.Object
-
- java.lang.Enum<GHCompare.Status>
-
- org.kohsuke.github.GHCompare.Status
-
- All Implemented Interfaces:
Serializable
,Comparable<GHCompare.Status>
- Enclosing class:
- GHCompare
public static enum GHCompare.Status extends Enum<GHCompare.Status>
The enum Status.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GHCompare.Status
valueOf(String name)
Returns the enum constant of this type with the specified name.static GHCompare.Status[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
behind
public static final GHCompare.Status behind
The behind.
-
ahead
public static final GHCompare.Status ahead
The ahead.
-
identical
public static final GHCompare.Status identical
The identical.
-
diverged
public static final GHCompare.Status diverged
The diverged.
-
-
Method Detail
-
values
public static GHCompare.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 (GHCompare.Status c : GHCompare.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 GHCompare.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
-
-