Package org.archive.crawler.framework
Enum ToeThread.Step
- java.lang.Object
-
- java.lang.Enum<ToeThread.Step>
-
- org.archive.crawler.framework.ToeThread.Step
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ToeThread.Step>
- Enclosing class:
- ToeThread
public static enum ToeThread.Step extends java.lang.Enum<ToeThread.Step>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABOUT_TO_BEGIN_PROCESSOR
ABOUT_TO_GET_URI
ABOUT_TO_RETURN_URI
FINISHED
FINISHING_PROCESS
HANDLING_RUNTIME_EXCEPTION
NASCENT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ToeThread.Step
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ToeThread.Step[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NASCENT
public static final ToeThread.Step NASCENT
-
ABOUT_TO_GET_URI
public static final ToeThread.Step ABOUT_TO_GET_URI
-
FINISHED
public static final ToeThread.Step FINISHED
-
ABOUT_TO_BEGIN_PROCESSOR
public static final ToeThread.Step ABOUT_TO_BEGIN_PROCESSOR
-
HANDLING_RUNTIME_EXCEPTION
public static final ToeThread.Step HANDLING_RUNTIME_EXCEPTION
-
ABOUT_TO_RETURN_URI
public static final ToeThread.Step ABOUT_TO_RETURN_URI
-
FINISHING_PROCESS
public static final ToeThread.Step FINISHING_PROCESS
-
-
Method Detail
-
values
public static ToeThread.Step[] 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 (ToeThread.Step c : ToeThread.Step.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ToeThread.Step 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
-
-