Enum ReIndexNodeStatus.State
- java.lang.Object
-
- java.lang.Enum<ReIndexNodeStatus.State>
-
- com.atlassian.confluence.index.status.ReIndexNodeStatus.State
-
- All Implemented Interfaces:
Serializable
,Comparable<ReIndexNodeStatus.State>
- Enclosing class:
- ReIndexNodeStatus
public static enum ReIndexNodeStatus.State extends Enum<ReIndexNodeStatus.State>
This state is a node state
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PROPAGATING
PROPAGATION_COMPLETE
PROPAGATION_FAIL
REBUILD_COMPLETE
REBUILD_FAILED
REBUILDING
UNAVAILABLE
WAITING
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isComplete()
boolean
isFailed()
boolean
isFinished()
static ReIndexNodeStatus.State
valueOf(String name)
Returns the enum constant of this type with the specified name.static ReIndexNodeStatus.State[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WAITING
public static final ReIndexNodeStatus.State WAITING
-
REBUILDING
public static final ReIndexNodeStatus.State REBUILDING
-
REBUILD_COMPLETE
public static final ReIndexNodeStatus.State REBUILD_COMPLETE
-
REBUILD_FAILED
public static final ReIndexNodeStatus.State REBUILD_FAILED
-
PROPAGATING
public static final ReIndexNodeStatus.State PROPAGATING
-
PROPAGATION_FAIL
public static final ReIndexNodeStatus.State PROPAGATION_FAIL
-
PROPAGATION_COMPLETE
public static final ReIndexNodeStatus.State PROPAGATION_COMPLETE
-
UNAVAILABLE
public static final ReIndexNodeStatus.State UNAVAILABLE
-
-
Method Detail
-
values
public static ReIndexNodeStatus.State[] 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 (ReIndexNodeStatus.State c : ReIndexNodeStatus.State.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ReIndexNodeStatus.State 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
-
isFailed
public boolean isFailed()
-
isComplete
public boolean isComplete()
-
isFinished
public boolean isFinished()
-
-