Package org.openmetadata.service.search
Enum IndexUtil.ElasticSearchIndexStatus
- java.lang.Object
-
- java.lang.Enum<IndexUtil.ElasticSearchIndexStatus>
-
- org.openmetadata.service.search.IndexUtil.ElasticSearchIndexStatus
-
- All Implemented Interfaces:
Serializable,Comparable<IndexUtil.ElasticSearchIndexStatus>
- Enclosing class:
- IndexUtil
public static enum IndexUtil.ElasticSearchIndexStatus extends Enum<IndexUtil.ElasticSearchIndexStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CREATEDFAILEDNOT_CREATED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IndexUtil.ElasticSearchIndexStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static IndexUtil.ElasticSearchIndexStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CREATED
public static final IndexUtil.ElasticSearchIndexStatus CREATED
-
NOT_CREATED
public static final IndexUtil.ElasticSearchIndexStatus NOT_CREATED
-
FAILED
public static final IndexUtil.ElasticSearchIndexStatus FAILED
-
-
Method Detail
-
values
public static IndexUtil.ElasticSearchIndexStatus[] 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 (IndexUtil.ElasticSearchIndexStatus c : IndexUtil.ElasticSearchIndexStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IndexUtil.ElasticSearchIndexStatus 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
-
-