Enum Class SpellContexts

java.lang.Object
java.lang.Enum<SpellContexts>
com.binaris.wizardry.api.content.spell.SpellContexts
All Implemented Interfaces:
SpellContext, Serializable, Comparable<SpellContexts>, Constable

public enum SpellContexts extends Enum<SpellContexts> implements SpellContext
  • Enum Constant Details

  • Method Details

    • values

      public static SpellContexts[] 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 SpellContexts 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
    • createDefaultMap

      public static Map<String,Boolean> createDefaultMap()
    • toString

      public String toString()
      Overrides:
      toString in class Enum<SpellContexts>
    • getName

      public String getName()
      Specified by:
      getName in interface SpellContext