Enum EventTypes
- java.lang.Object
-
- java.lang.Enum<EventTypes>
-
- com.github.dozermapper.core.events.EventTypes
-
- All Implemented Interfaces:
Serializable,Comparable<EventTypes>
public enum EventTypes extends Enum<EventTypes>
Event types which can be triggered
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MAPPING_FINISHEDMapperhas finished processingMAPPING_POST_WRITING_DEST_VALUEMapperhas written the destination valueMAPPING_PRE_WRITING_DEST_VALUEMapperis about to write the destination valueMAPPING_STARTEDMapperhas started processing
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EventTypesvalueOf(String name)Returns the enum constant of this type with the specified name.static EventTypes[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MAPPING_STARTED
public static final EventTypes MAPPING_STARTED
Mapperhas started processing
-
MAPPING_PRE_WRITING_DEST_VALUE
public static final EventTypes MAPPING_PRE_WRITING_DEST_VALUE
Mapperis about to write the destination value
-
MAPPING_POST_WRITING_DEST_VALUE
public static final EventTypes MAPPING_POST_WRITING_DEST_VALUE
Mapperhas written the destination value
-
MAPPING_FINISHED
public static final EventTypes MAPPING_FINISHED
Mapperhas finished processing
-
-
Method Detail
-
values
public static EventTypes[] 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 (EventTypes c : EventTypes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EventTypes 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
-
-