Package org.mapstruct.ap.spi
Class PrefixEnumTransformationStrategy
- java.lang.Object
- 
- org.mapstruct.ap.spi.PrefixEnumTransformationStrategy
 
- 
- All Implemented Interfaces:
- EnumTransformationStrategy
 
 public class PrefixEnumTransformationStrategy extends Object implements EnumTransformationStrategy - Since:
- 1.4
- Author:
- Filip Hrisafov
 
- 
- 
Constructor SummaryConstructors Constructor Description PrefixEnumTransformationStrategy()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetStrategyName()The name of the strategy.Stringtransform(String value, String configuration)Transform the given value by using the givenconfiguration.- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.mapstruct.ap.spi.EnumTransformationStrategyinit
 
- 
 
- 
- 
- 
Method Detail- 
getStrategyNamepublic String getStrategyName() Description copied from interface:EnumTransformationStrategyThe name of the strategy.- Specified by:
- getStrategyNamein interface- EnumTransformationStrategy
- Returns:
- the name of the strategy, never null
 
 - 
transformpublic String transform(String value, String configuration) Description copied from interface:EnumTransformationStrategyTransform the given value by using the givenconfiguration.- Specified by:
- transformin interface- EnumTransformationStrategy
- Parameters:
- value- the value that should be transformed
- configuration- the configuration that should be used for the transformation
- Returns:
- the transformed value after applying the configuration
 
 
- 
 
-