me.armar.plugins.autorank.statsmanager.handlers
Enum StatsHandler.statTypes

java.lang.Object
  extended by java.lang.Enum<StatsHandler.statTypes>
      extended by me.armar.plugins.autorank.statsmanager.handlers.StatsHandler.statTypes
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<StatsHandler.statTypes>
Enclosing class:
StatsHandler

public static enum StatsHandler.statTypes
extends java.lang.Enum<StatsHandler.statTypes>


Enum Constant Summary
BLOCKS_BROKEN
           
BLOCKS_PLACED
           
DAMAGE_TAKEN
           
MOBS_KILLED
           
PLAYERS_KILLED
           
TIME_PLAYED
           
TOTAL_BLOCKS_BROKEN
           
TOTAL_BLOCKS_PLACED
           
VOTES
           
 
Method Summary
static StatsHandler.statTypes valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static StatsHandler.statTypes[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

BLOCKS_BROKEN

public static final StatsHandler.statTypes BLOCKS_BROKEN

BLOCKS_PLACED

public static final StatsHandler.statTypes BLOCKS_PLACED

TOTAL_BLOCKS_BROKEN

public static final StatsHandler.statTypes TOTAL_BLOCKS_BROKEN

TOTAL_BLOCKS_PLACED

public static final StatsHandler.statTypes TOTAL_BLOCKS_PLACED

VOTES

public static final StatsHandler.statTypes VOTES

PLAYERS_KILLED

public static final StatsHandler.statTypes PLAYERS_KILLED

MOBS_KILLED

public static final StatsHandler.statTypes MOBS_KILLED

DAMAGE_TAKEN

public static final StatsHandler.statTypes DAMAGE_TAKEN

TIME_PLAYED

public static final StatsHandler.statTypes TIME_PLAYED
Method Detail

values

public static StatsHandler.statTypes[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (StatsHandler.statTypes c : StatsHandler.statTypes.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static StatsHandler.statTypes valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null