Package org.mapstruct.ap.spi
Class CaseEnumTransformationStrategy
java.lang.Object
org.mapstruct.ap.spi.CaseEnumTransformationStrategy
- All Implemented Interfaces:
EnumTransformationStrategy
Applies case transformation to the source enum
- Since:
- 1.5
- Author:
- jpbassinello
-
Constructor Details
-
CaseEnumTransformationStrategy
public CaseEnumTransformationStrategy()
-
-
Method Details
-
getStrategyName
Description copied from interface:EnumTransformationStrategyThe name of the strategy.- Specified by:
getStrategyNamein interfaceEnumTransformationStrategy- Returns:
- the name of the strategy, never
null
-
transform
Description copied from interface:EnumTransformationStrategyTransform the given value by using the givenconfiguration.- Specified by:
transformin interfaceEnumTransformationStrategy- Parameters:
value- the value that should be transformedconfiguration- the configuration that should be used for the transformation- Returns:
- the transformed value after applying the configuration
-