Enum Class CraftingJobStatus

java.lang.Object
java.lang.Enum<CraftingJobStatus>
org.cyclops.integratedcrafting.api.crafting.CraftingJobStatus
All Implemented Interfaces:
Serializable, Comparable<CraftingJobStatus>, Constable

public enum CraftingJobStatus extends Enum<CraftingJobStatus>
Status types for a CraftingJob in an ICraftingInterface.
  • Enum Constant Details

    • PENDING_INTERFACE

      public static final CraftingJobStatus PENDING_INTERFACE
      The crafting job has been scheduled, but is not processing yet because the crafting interface is still processing another job.
    • PENDING_DEPENDENCIES

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

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

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

      public static final CraftingJobStatus PROCESSING
      The crafting job is actively processing, and output ingredients are being awaited.
    • FINISHED

      public static final CraftingJobStatus FINISHED
      The crafting job is completed.
    • UNKNOWN

      public static final CraftingJobStatus UNKNOWN
      The status for the job is unknown.
  • Method Details

    • values

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