Enum NodeRefresher.State
- java.lang.Object
-
- java.lang.Enum<NodeRefresher.State>
-
- org.opends.guitools.controlpanel.browser.NodeRefresher.State
-
- All Implemented Interfaces:
Serializable,Comparable<NodeRefresher.State>
- Enclosing class:
- NodeRefresher
public static enum NodeRefresher.State extends Enum<NodeRefresher.State>
The enumeration containing all the states the refresher can have.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CANCELLEDThe refresher is cancelled.DETECTING_CHILDRENThe refresher is detecting whether the entry has children or not.FAILEDThe refresher has failed.FINISHEDThe refresher is finished.INTERRUPTEDThe refresher has been interrupted.QUEUEDThe refresher is queued, but not started.READING_LOCAL_ENTRYThe refresher is reading the local entry.SEARCHING_CHILDRENThe refresher is searching for the children of the entry.SOLVING_REFERRALThe refresher is solving a referral.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NodeRefresher.StatevalueOf(String name)Returns the enum constant of this type with the specified name.static NodeRefresher.State[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
QUEUED
public static final NodeRefresher.State QUEUED
The refresher is queued, but not started.
-
READING_LOCAL_ENTRY
public static final NodeRefresher.State READING_LOCAL_ENTRY
The refresher is reading the local entry.
-
SOLVING_REFERRAL
public static final NodeRefresher.State SOLVING_REFERRAL
The refresher is solving a referral.
-
DETECTING_CHILDREN
public static final NodeRefresher.State DETECTING_CHILDREN
The refresher is detecting whether the entry has children or not.
-
SEARCHING_CHILDREN
public static final NodeRefresher.State SEARCHING_CHILDREN
The refresher is searching for the children of the entry.
-
FINISHED
public static final NodeRefresher.State FINISHED
The refresher is finished.
-
CANCELLED
public static final NodeRefresher.State CANCELLED
The refresher is cancelled.
-
INTERRUPTED
public static final NodeRefresher.State INTERRUPTED
The refresher has been interrupted.
-
FAILED
public static final NodeRefresher.State FAILED
The refresher has failed.
-
-
Method Detail
-
values
public static NodeRefresher.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 (NodeRefresher.State c : NodeRefresher.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 NodeRefresher.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
-
-