Package io.hgraphdb
Enum IndexMetadata.State
- java.lang.Object
-
- java.lang.Enum<IndexMetadata.State>
-
- io.hgraphdb.IndexMetadata.State
-
- All Implemented Interfaces:
Serializable
,Comparable<IndexMetadata.State>
- Enclosing class:
- IndexMetadata
public static enum IndexMetadata.State extends Enum<IndexMetadata.State>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IndexMetadata.State
valueOf(String name)
Returns the enum constant of this type with the specified name.static IndexMetadata.State[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CREATED
public static final IndexMetadata.State CREATED
-
BUILDING
public static final IndexMetadata.State BUILDING
-
ACTIVE
public static final IndexMetadata.State ACTIVE
-
INACTIVE
public static final IndexMetadata.State INACTIVE
-
DROPPED
public static final IndexMetadata.State DROPPED
-
-
Method Detail
-
values
public static IndexMetadata.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 (IndexMetadata.State c : IndexMetadata.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 IndexMetadata.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
-
-