Enum TopVoter

java.lang.Object
java.lang.Enum<TopVoter>
com.bencodez.votingplugin.topvoter.TopVoter
All Implemented Interfaces:
Serializable, Comparable<TopVoter>, java.lang.constant.Constable

public enum TopVoter extends Enum<TopVoter>
  • Enum Constant Details

    • AllTime

      public static final TopVoter AllTime
    • Monthly

      public static final TopVoter Monthly
    • Weekly

      public static final TopVoter Weekly
    • Daily

      public static final TopVoter Daily
  • Method Details

    • values

      public static TopVoter[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static TopVoter valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • getDefault

      public static TopVoter getDefault()
    • getTopVoter

      public static TopVoter getTopVoter(String str)
    • valuesMinusAllTime

      public static TopVoter[] valuesMinusAllTime()
    • getColumnName

      public String getColumnName()
    • getLastColumnName

      public String getLastColumnName()
    • getName

      public String getName()
    • next

      public TopVoter next()
    • prev

      public TopVoter prev()
    • of

      public static TopVoter of(com.bencodez.advancedcore.api.time.TimeType type)
    • getSwitchItems

      public ArrayList<TopVoter> getSwitchItems()