Enum IndexCommitCallback.IndexProgress
- java.lang.Object
-
- java.lang.Enum<IndexCommitCallback.IndexProgress>
-
- org.apache.jackrabbit.oak.plugins.index.IndexCommitCallback.IndexProgress
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<IndexCommitCallback.IndexProgress>
- Enclosing interface:
- IndexCommitCallback
public static enum IndexCommitCallback.IndexProgress extends java.lang.Enum<IndexCommitCallback.IndexProgress>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABORT_REQUESTED
COMMIT_FAILED
COMMIT_SUCCEDED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IndexCommitCallback.IndexProgress
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static IndexCommitCallback.IndexProgress[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COMMIT_SUCCEDED
public static final IndexCommitCallback.IndexProgress COMMIT_SUCCEDED
-
COMMIT_FAILED
public static final IndexCommitCallback.IndexProgress COMMIT_FAILED
-
ABORT_REQUESTED
public static final IndexCommitCallback.IndexProgress ABORT_REQUESTED
-
-
Method Detail
-
values
public static IndexCommitCallback.IndexProgress[] 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 (IndexCommitCallback.IndexProgress c : IndexCommitCallback.IndexProgress.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IndexCommitCallback.IndexProgress valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-