Enum Class PickupStrategy.Result

java.lang.Object
java.lang.Enum<PickupStrategy.Result>
appeng.api.behaviors.PickupStrategy.Result
All Implemented Interfaces:
Serializable, Comparable<PickupStrategy.Result>, Constable
Enclosing interface:
PickupStrategy

public static enum PickupStrategy.Result extends Enum<PickupStrategy.Result>
  • Enum Constant Details

    • CANT_PICKUP

      public static final PickupStrategy.Result CANT_PICKUP
      There is nothing this strategy can pick up.
    • CANT_STORE

      public static final PickupStrategy.Result CANT_STORE
      There is something the strategy could pick up, but the storage is full.
    • PICKED_UP

      public static final PickupStrategy.Result PICKED_UP
      The strategy picked something up successfully.
  • Method Details

    • values

      public static PickupStrategy.Result[] 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 PickupStrategy.Result 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