Package org.apache.tika.pipes.api
Enum Class PipesResult.CATEGORY
- All Implemented Interfaces:
Serializable,Comparable<PipesResult.CATEGORY>,Constable
- Enclosing class:
PipesResult
High-level categorization of result statuses.
Categories help distinguish between different types of failures and successes, allowing infrastructure to decide how to handle each case:
FATAL- System cannot continue, must be fixed and restartedINITIALIZATION_FAILURE- Component failed to initialize, might be transientTASK_EXCEPTION- This task failed, but other tasks may succeedPROCESS_CRASH- Forked process crashed, auto-restart and continueSUCCESS- Processing completed successfully (possibly with warnings)
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFatal system error - cannot continue, must be fixed and restartedComponent initialization failed - processing should stop, might be transientForked process crashed due to OOM, timeout, or other system failure - auto-restartProcessing completed successfully (possibly with warnings)Task-level exception - this task failed, log and continue with next task -
Method Summary
Modifier and TypeMethodDescriptionstatic PipesResult.CATEGORYReturns the enum constant of this class with the specified name.static PipesResult.CATEGORY[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FATAL
Fatal system error - cannot continue, must be fixed and restarted -
INITIALIZATION_FAILURE
Component initialization failed - processing should stop, might be transient -
TASK_EXCEPTION
Task-level exception - this task failed, log and continue with next task -
PROCESS_CRASH
Forked process crashed due to OOM, timeout, or other system failure - auto-restart -
SUCCESS
Processing completed successfully (possibly with warnings)
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-