Enum Class UserStats

java.lang.Object
java.lang.Enum<UserStats>
dev.jacrispys.JavaBot.api.libs.utils.mysql.UserStats
All Implemented Interfaces:
Serializable, Comparable<UserStats>, Constable

public enum UserStats extends Enum<UserStats>
Selection of all user tracked stats
  • Enum Constant Details

    • USER_ID

      public static final UserStats USER_ID
    • GUILD_ID

      public static final UserStats GUILD_ID
    • SONG_QUEUES

      public static final UserStats SONG_QUEUES
    • PLAYLIST_QUEUES

      public static final UserStats PLAYLIST_QUEUES
    • LISTEN_TIME

      public static final UserStats LISTEN_TIME
    • SKIP_OTHERS

      public static final UserStats SKIP_OTHERS
  • Method Details

    • values

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