Enum Class GeneralTag

java.lang.Object
java.lang.Enum<GeneralTag>
dev.kitteh.factions.tag.GeneralTag
All Implemented Interfaces:
Tag, Serializable, Comparable<GeneralTag>, Constable

@Internal @Obsolete @Deprecated(forRemoval=true) public enum GeneralTag extends Enum<GeneralTag> implements Tag
Deprecated, for removal: This API element is subject to removal in a future version.
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
    Gets if the Tag can be found in the given String.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Gets the Tag's string representation.
    static String
    parse(String text)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static GeneralTag
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the enum constant of this class with the specified name.
    static GeneralTag[]
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • MAX_ALLIES

      public static final GeneralTag MAX_ALLIES
      Deprecated, for removal: This API element is subject to removal in a future version.
    • MAX_ENEMIES

      public static final GeneralTag MAX_ENEMIES
      Deprecated, for removal: This API element is subject to removal in a future version.
    • MAX_TRUCES

      public static final GeneralTag MAX_TRUCES
      Deprecated, for removal: This API element is subject to removal in a future version.
    • FACTIONLESS

      public static final GeneralTag FACTIONLESS
      Deprecated, for removal: This API element is subject to removal in a future version.
    • FACTIONLESS_TOTAL

      public static final GeneralTag FACTIONLESS_TOTAL
      Deprecated, for removal: This API element is subject to removal in a future version.
    • TOTAL_ONLINE

      public static final GeneralTag TOTAL_ONLINE
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • values

      public static GeneralTag[] values()
      Deprecated, for removal: This API element is subject to removal in a future version.
      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 GeneralTag valueOf(String name)
      Deprecated, for removal: This API element is subject to removal in a future version.
      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
    • parse

      public static String parse(String text)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getTag

      public String getTag()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: Tag
      Gets the Tag's string representation.
      Specified by:
      getTag in interface Tag
      Returns:
      tag
    • foundInString

      public boolean foundInString(String test)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: Tag
      Gets if the Tag can be found in the given String.
      Specified by:
      foundInString in interface Tag
      Parameters:
      test - string to test
      Returns:
      true if the tag is found in this string
    • replace

      public String replace(String text)
      Deprecated, for removal: This API element is subject to removal in a future version.