Enum ApplicationReindexing.State
- java.lang.Object
-
- java.lang.Enum<ApplicationReindexing.State>
-
- com.yahoo.vespa.hosted.controller.api.integration.configserver.ApplicationReindexing.State
-
- All Implemented Interfaces:
Serializable,Comparable<ApplicationReindexing.State>
- Enclosing class:
- ApplicationReindexing
public static enum ApplicationReindexing.State extends Enum<ApplicationReindexing.State>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FAILEDPENDINGRUNNINGSUCCESSFUL
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ApplicationReindexing.StatevalueOf(String name)Returns the enum constant of this type with the specified name.static ApplicationReindexing.State[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PENDING
public static final ApplicationReindexing.State PENDING
-
RUNNING
public static final ApplicationReindexing.State RUNNING
-
FAILED
public static final ApplicationReindexing.State FAILED
-
SUCCESSFUL
public static final ApplicationReindexing.State SUCCESSFUL
-
-
Method Detail
-
values
public static ApplicationReindexing.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 (ApplicationReindexing.State c : ApplicationReindexing.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 ApplicationReindexing.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
-
-