Package org.apache.tika.server.core
Enum ServerStatus.STATUS
- java.lang.Object
-
- java.lang.Enum<ServerStatus.STATUS>
-
- org.apache.tika.server.core.ServerStatus.STATUS
-
- All Implemented Interfaces:
Serializable
,Comparable<ServerStatus.STATUS>
- Enclosing class:
- ServerStatus
public static enum ServerStatus.STATUS extends Enum<ServerStatus.STATUS>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ERROR
HIT_MAX_FILES
INITIALIZING
OFF
OPERATING
PARENT_EXCEPTION
PARENT_REQUESTED_SHUTDOWN
TIMEOUT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ServerStatus.STATUS
valueOf(String name)
Returns the enum constant of this type with the specified name.static ServerStatus.STATUS[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INITIALIZING
public static final ServerStatus.STATUS INITIALIZING
-
OPERATING
public static final ServerStatus.STATUS OPERATING
-
HIT_MAX_FILES
public static final ServerStatus.STATUS HIT_MAX_FILES
-
TIMEOUT
public static final ServerStatus.STATUS TIMEOUT
-
ERROR
public static final ServerStatus.STATUS ERROR
-
PARENT_REQUESTED_SHUTDOWN
public static final ServerStatus.STATUS PARENT_REQUESTED_SHUTDOWN
-
PARENT_EXCEPTION
public static final ServerStatus.STATUS PARENT_EXCEPTION
-
OFF
public static final ServerStatus.STATUS OFF
-
-
Method Detail
-
values
public static ServerStatus.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 (ServerStatus.STATUS c : ServerStatus.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 ServerStatus.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
-
-