Enum DozerCacheType
- java.lang.Object
-
- java.lang.Enum<DozerCacheType>
-
- com.github.dozermapper.core.cache.DozerCacheType
-
- All Implemented Interfaces:
Serializable,Comparable<DozerCacheType>
public enum DozerCacheType extends Enum<DozerCacheType>
Different types of cache which are supported
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLASS_MAPPINGSCache for class mappingsCONVERTER_BY_DEST_TYPECache for converters by destination typeSUPER_TYPE_CHECKCache for super types
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DozerCacheTypevalueOf(String name)Returns the enum constant of this type with the specified name.static DozerCacheType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONVERTER_BY_DEST_TYPE
public static final DozerCacheType CONVERTER_BY_DEST_TYPE
Cache for converters by destination type
-
SUPER_TYPE_CHECK
public static final DozerCacheType SUPER_TYPE_CHECK
Cache for super types
-
CLASS_MAPPINGS
public static final DozerCacheType CLASS_MAPPINGS
Cache for class mappings
-
-
Method Detail
-
values
public static DozerCacheType[] 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 (DozerCacheType c : DozerCacheType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DozerCacheType 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 nameNullPointerException- if the argument is null
-
-