Enum DataImporter.Status
- java.lang.Object
-
- java.lang.Enum<DataImporter.Status>
-
- org.apache.solr.handler.dataimport.DataImporter.Status
-
- All Implemented Interfaces:
Serializable
,Comparable<DataImporter.Status>
- Enclosing class:
- DataImporter
public static enum DataImporter.Status extends Enum<DataImporter.Status>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description IDLE
JOB_FAILED
RUNNING_DELTA_DUMP
RUNNING_FULL_DUMP
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DataImporter.Status
valueOf(String name)
Returns the enum constant of this type with the specified name.static DataImporter.Status[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IDLE
public static final DataImporter.Status IDLE
-
RUNNING_FULL_DUMP
public static final DataImporter.Status RUNNING_FULL_DUMP
-
RUNNING_DELTA_DUMP
public static final DataImporter.Status RUNNING_DELTA_DUMP
-
JOB_FAILED
public static final DataImporter.Status JOB_FAILED
-
-
Method Detail
-
values
public static DataImporter.Status[] 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 (DataImporter.Status c : DataImporter.Status.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DataImporter.Status 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
-
-