Enum Class StoredTeamValue

java.lang.Object
java.lang.Enum<StoredTeamValue>
com.booksaw.betterTeams.team.storage.team.StoredTeamValue
All Implemented Interfaces:
Serializable, Comparable<StoredTeamValue>, Constable

public enum StoredTeamValue extends Enum<StoredTeamValue>
Author:
James
  • Enum Constant Details

    • NAME

      public static final StoredTeamValue NAME
      the name of the team
    • TAG

      public static final StoredTeamValue TAG
      The tag of the team
    • OPEN

      public static final StoredTeamValue OPEN
      If the team is open or not
    • DESCRIPTION

      public static final StoredTeamValue DESCRIPTION
      The description of the team
    • COLOR

      public static final StoredTeamValue COLOR
      The color the team has set
    • HOME

      public static final StoredTeamValue HOME
      The location of the team home (stored as a String)
    • ANCHOR

      public static final StoredTeamValue ANCHOR
    • SCORE

      public static final StoredTeamValue SCORE
      The score of the team
    • MONEY

      public static final StoredTeamValue MONEY
      The balance of the team
    • LEVEL

      public static final StoredTeamValue LEVEL
      The level of the team
    • PVP

      public static final StoredTeamValue PVP
      If the team has pvp enabled or not
  • Method Details

    • values

      public static StoredTeamValue[] 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 StoredTeamValue 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
    • getReference

      public String getReference()
      Used to store the reference that the value is saved by
    • getStorageType

      public TeamStorageType getStorageType()
      The datatype of this variable