Package com.google.gerrit.server.git
Enum MultiProgressMonitor.TaskKind
- java.lang.Object
-
- java.lang.Enum<MultiProgressMonitor.TaskKind>
-
- com.google.gerrit.server.git.MultiProgressMonitor.TaskKind
-
- All Implemented Interfaces:
Serializable
,Comparable<MultiProgressMonitor.TaskKind>
- Enclosing class:
- MultiProgressMonitor
public static enum MultiProgressMonitor.TaskKind extends Enum<MultiProgressMonitor.TaskKind>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INDEXING
RECEIVE_COMMITS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MultiProgressMonitor.TaskKind
valueOf(String name)
Returns the enum constant of this type with the specified name.static MultiProgressMonitor.TaskKind[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INDEXING
public static final MultiProgressMonitor.TaskKind INDEXING
-
RECEIVE_COMMITS
public static final MultiProgressMonitor.TaskKind RECEIVE_COMMITS
-
-
Method Detail
-
values
public static MultiProgressMonitor.TaskKind[] 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 (MultiProgressMonitor.TaskKind c : MultiProgressMonitor.TaskKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MultiProgressMonitor.TaskKind 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
-
-