Enum Class TerminalCraftingJobStatus

java.lang.Object
java.lang.Enum<TerminalCraftingJobStatus>
org.cyclops.integratedterminals.api.terminalstorage.crafting.TerminalCraftingJobStatus
All Implemented Interfaces:
Serializable, Comparable<TerminalCraftingJobStatus>, Constable

public enum TerminalCraftingJobStatus extends Enum<TerminalCraftingJobStatus>
The status of a crafting job.
  • Enum Constant Details

    • ERROR

      public static final TerminalCraftingJobStatus ERROR
      A generic job error state.
    • INVALID

      public static final TerminalCraftingJobStatus INVALID
      If this job, or its dependencies, have missing storage instances.
    • UNSTARTED

      public static final TerminalCraftingJobStatus UNSTARTED
      No outputs have been crafted yet, and they are not scheduled yet for crafting.
    • QUEUEING

      public static final TerminalCraftingJobStatus QUEUEING
      The crafting job has been scheduled, but is not processing yet because other jobs are still processing.
    • PENDING_DEPENDENCIES

      public static final TerminalCraftingJobStatus PENDING_DEPENDENCIES
      The crafting job has been scheduled, but is not processing yet because a dependency is still being processed.
    • PENDING_INPUTS

      public static final TerminalCraftingJobStatus PENDING_INPUTS
      The crafting job has been scheduled, but is not processing yet because input ingredients are missing.
    • INVALID_INPUTS

      public static final TerminalCraftingJobStatus INVALID_INPUTS
      The recipe inputs could not be inserted into the crafting handler.
    • CRAFTING

      public static final TerminalCraftingJobStatus CRAFTING
      The output is actively being crafted.
    • FINISHED

      public static final TerminalCraftingJobStatus FINISHED
      All expected outputs are crafted.
  • Method Details

    • values

      public static TerminalCraftingJobStatus[] 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

      public static TerminalCraftingJobStatus valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getColor

      public int getColor()
    • isValid

      public boolean isValid()