Package org.molgenis.data.index.meta
Enum IndexActionMetadata.IndexStatus
- java.lang.Object
-
- java.lang.Enum<IndexActionMetadata.IndexStatus>
-
- org.molgenis.data.index.meta.IndexActionMetadata.IndexStatus
-
- All Implemented Interfaces:
Serializable,Comparable<IndexActionMetadata.IndexStatus>
- Enclosing class:
- IndexActionMetadata
public static enum IndexActionMetadata.IndexStatus extends Enum<IndexActionMetadata.IndexStatus>
Index action status
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IndexActionMetadata.IndexStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static IndexActionMetadata.IndexStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FINISHED
public static final IndexActionMetadata.IndexStatus FINISHED
index action is finished
-
CANCELED
public static final IndexActionMetadata.IndexStatus CANCELED
index action is canceled
-
FAILED
public static final IndexActionMetadata.IndexStatus FAILED
index action failed
-
STARTED
public static final IndexActionMetadata.IndexStatus STARTED
index action is started
-
PENDING
public static final IndexActionMetadata.IndexStatus PENDING
index action is just created and is not yet processed
-
-
Method Detail
-
values
public static IndexActionMetadata.IndexStatus[] 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 (IndexActionMetadata.IndexStatus c : IndexActionMetadata.IndexStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IndexActionMetadata.IndexStatus 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
-
-