Enum Class CraftingJobStatus
- All Implemented Interfaces:
Serializable,Comparable<CraftingJobStatus>,Constable
Status types for a
CraftingJob in an ICraftingInterface.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe crafting job is completed.The recipe inputs could not be inserted into the crafting handler.The crafting job has been scheduled, but is not processing yet because a dependency is still being processed.The crafting job has been scheduled, but is not processing yet because input ingredients are missing.The crafting job has been scheduled, but is not processing yet because the crafting interface is still processing another job.The crafting job is actively processing, and output ingredients are being awaited.The status for the job is unknown. -
Method Summary
Modifier and TypeMethodDescriptionstatic CraftingJobStatusReturns the enum constant of this class with the specified name.static CraftingJobStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PENDING_INTERFACE
The crafting job has been scheduled, but is not processing yet because the crafting interface is still processing another job. -
PENDING_DEPENDENCIES
The crafting job has been scheduled, but is not processing yet because a dependency is still being processed. -
PENDING_INGREDIENTS
The crafting job has been scheduled, but is not processing yet because input ingredients are missing. -
INVALID_INPUTS
The recipe inputs could not be inserted into the crafting handler. -
PROCESSING
The crafting job is actively processing, and output ingredients are being awaited. -
FINISHED
The crafting job is completed. -
UNKNOWN
The status for the job is unknown.
-
-
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
-