Package org.apache.tika.pipes.async
Enum AsyncStatus.ASYNC_STATUS
- java.lang.Object
-
- java.lang.Enum<AsyncStatus.ASYNC_STATUS>
-
- org.apache.tika.pipes.async.AsyncStatus.ASYNC_STATUS
-
- All Implemented Interfaces:
Serializable
,Comparable<AsyncStatus.ASYNC_STATUS>
- Enclosing class:
- AsyncStatus
public static enum AsyncStatus.ASYNC_STATUS extends Enum<AsyncStatus.ASYNC_STATUS>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AsyncStatus.ASYNC_STATUS
valueOf(String name)
Returns the enum constant of this type with the specified name.static AsyncStatus.ASYNC_STATUS[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STARTED
public static final AsyncStatus.ASYNC_STATUS STARTED
-
COMPLETED
public static final AsyncStatus.ASYNC_STATUS COMPLETED
-
CRASHED
public static final AsyncStatus.ASYNC_STATUS CRASHED
-
-
Method Detail
-
values
public static AsyncStatus.ASYNC_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 (AsyncStatus.ASYNC_STATUS c : AsyncStatus.ASYNC_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 AsyncStatus.ASYNC_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
-
-