Package com.google.gerrit.server.patch
Enum IntraLineDiff.Status
- java.lang.Object
-
- java.lang.Enum<IntraLineDiff.Status>
-
- com.google.gerrit.server.patch.IntraLineDiff.Status
-
- All Implemented Interfaces:
CodedEnum
,Serializable
,Comparable<IntraLineDiff.Status>
- Enclosing class:
- IntraLineDiff
public static enum IntraLineDiff.Status extends Enum<IntraLineDiff.Status> implements CodedEnum
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description char
getCode()
static IntraLineDiff.Status
valueOf(String name)
Returns the enum constant of this type with the specified name.static IntraLineDiff.Status[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EDIT_LIST
public static final IntraLineDiff.Status EDIT_LIST
-
DISABLED
public static final IntraLineDiff.Status DISABLED
-
TIMEOUT
public static final IntraLineDiff.Status TIMEOUT
-
ERROR
public static final IntraLineDiff.Status ERROR
-
-
Method Detail
-
values
public static IntraLineDiff.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 (IntraLineDiff.Status c : IntraLineDiff.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 IntraLineDiff.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
-
-