Enum ElasticSearchAction.CommandEnum
- java.lang.Object
-
- java.lang.Enum<ElasticSearchAction.CommandEnum>
-
- org.apache.manifoldcf.agents.output.elasticsearch.ElasticSearchAction.CommandEnum
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ElasticSearchAction.CommandEnum>
- Enclosing class:
- ElasticSearchAction
public static enum ElasticSearchAction.CommandEnum extends java.lang.Enum<ElasticSearchAction.CommandEnum>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description _forcemerge
_optimize
_refresh
_stats
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ElasticSearchAction.CommandEnum
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ElasticSearchAction.CommandEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
_optimize
public static final ElasticSearchAction.CommandEnum _optimize
-
_refresh
public static final ElasticSearchAction.CommandEnum _refresh
-
_stats
public static final ElasticSearchAction.CommandEnum _stats
-
_forcemerge
public static final ElasticSearchAction.CommandEnum _forcemerge
-
-
Method Detail
-
values
public static ElasticSearchAction.CommandEnum[] 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 (ElasticSearchAction.CommandEnum c : ElasticSearchAction.CommandEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ElasticSearchAction.CommandEnum valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-