Enum Class TerminalCraftingJobStatus
java.lang.Object
java.lang.Enum<TerminalCraftingJobStatus>
org.cyclops.integratedterminals.api.terminalstorage.crafting.TerminalCraftingJobStatus
- All Implemented Interfaces:
Serializable,Comparable<TerminalCraftingJobStatus>,Constable
The status of a crafting job.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe output is actively being crafted.A generic job error state.All expected outputs are crafted.If this job, or its dependencies, have missing storage instances.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 other jobs are still processing.No outputs have been crafted yet, and they are not scheduled yet for crafting. -
Method Summary
Modifier and TypeMethodDescriptionintgetColor()booleanisValid()static TerminalCraftingJobStatusReturns the enum constant of this class with the specified name.static TerminalCraftingJobStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ERROR
A generic job error state. -
INVALID
If this job, or its dependencies, have missing storage instances. -
UNSTARTED
No outputs have been crafted yet, and they are not scheduled yet for crafting. -
QUEUEING
The crafting job has been scheduled, but is not processing yet because other jobs are still processing. -
PENDING_DEPENDENCIES
The crafting job has been scheduled, but is not processing yet because a dependency is still being processed. -
PENDING_INPUTS
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. -
CRAFTING
The output is actively being crafted. -
FINISHED
All expected outputs are crafted.
-
-
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
-
getColor
public int getColor() -
isValid
public boolean isValid()
-