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