org.dozer.stats
Enum StatisticType

java.lang.Object
  extended by java.lang.Enum<StatisticType>
      extended by org.dozer.stats.StatisticType
All Implemented Interfaces:
Serializable, Comparable<StatisticType>

public enum StatisticType
extends Enum<StatisticType>

Internal constants file that defines the types of supported statistic keys. Only intended for internal use.

Author:
tierney.matt

Enum Constant Summary
CACHE_HIT_COUNT
           
CACHE_MISS_COUNT
           
CUSTOM_CONVERTER_SUCCESS_COUNT
           
CUSTOM_CONVERTER_TIME
           
FIELD_MAPPING_FAILURE_COUNT
           
FIELD_MAPPING_FAILURE_IGNORED_COUNT
           
FIELD_MAPPING_SUCCESS_COUNT
           
MAPPER_INSTANCES_COUNT
           
MAPPING_FAILURE_COUNT
           
MAPPING_FAILURE_EX_TYPE_COUNT
           
MAPPING_FAILURE_TYPE_COUNT
           
MAPPING_SUCCESS_COUNT
           
MAPPING_TIME
           
 
Method Summary
static StatisticType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static StatisticType[] 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

MAPPER_INSTANCES_COUNT

public static final StatisticType MAPPER_INSTANCES_COUNT

MAPPING_SUCCESS_COUNT

public static final StatisticType MAPPING_SUCCESS_COUNT

MAPPING_FAILURE_COUNT

public static final StatisticType MAPPING_FAILURE_COUNT

MAPPING_FAILURE_EX_TYPE_COUNT

public static final StatisticType MAPPING_FAILURE_EX_TYPE_COUNT

MAPPING_FAILURE_TYPE_COUNT

public static final StatisticType MAPPING_FAILURE_TYPE_COUNT

MAPPING_TIME

public static final StatisticType MAPPING_TIME

FIELD_MAPPING_SUCCESS_COUNT

public static final StatisticType FIELD_MAPPING_SUCCESS_COUNT

FIELD_MAPPING_FAILURE_COUNT

public static final StatisticType FIELD_MAPPING_FAILURE_COUNT

FIELD_MAPPING_FAILURE_IGNORED_COUNT

public static final StatisticType FIELD_MAPPING_FAILURE_IGNORED_COUNT

CUSTOM_CONVERTER_SUCCESS_COUNT

public static final StatisticType CUSTOM_CONVERTER_SUCCESS_COUNT

CUSTOM_CONVERTER_TIME

public static final StatisticType CUSTOM_CONVERTER_TIME

CACHE_HIT_COUNT

public static final StatisticType CACHE_HIT_COUNT

CACHE_MISS_COUNT

public static final StatisticType CACHE_MISS_COUNT
Method Detail

values

public static StatisticType[] 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 (StatisticType c : StatisticType.values())
    System.out.println(c);

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

valueOf

public static StatisticType 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


Copyright © 2005-2011 dozer. All Rights Reserved.