java.lang.Object
java.lang.Enum<GenericResult>
eu.endercentral.crazy_advancements.advancement.progress.GenericResult
All Implemented Interfaces:
Serializable, Comparable<GenericResult>, Constable

public enum GenericResult extends Enum<GenericResult>
Represents a Generic Result to an Operation
Author:
Axel
  • Enum Constant Details

    • UNCHANGED

      public static final GenericResult UNCHANGED
      Operations with this Result did not lead to any changes
    • CHANGED

      public static final GenericResult CHANGED
      Operations with this Result did lead to changes
  • Method Details

    • values

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