public class SuffixEnumTransformationStrategy extends Object implements EnumTransformationStrategy
Constructor and Description |
---|
SuffixEnumTransformationStrategy() |
Modifier and Type | Method and Description |
---|---|
String |
getStrategyName()
The name of the strategy.
|
String |
transform(String value,
String configuration)
Transform the given value by using the given
configuration . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
init
public String getStrategyName()
EnumTransformationStrategy
getStrategyName
in interface EnumTransformationStrategy
null
public String transform(String value, String configuration)
EnumTransformationStrategy
configuration
.transform
in interface EnumTransformationStrategy
value
- the value that should be transformedconfiguration
- the configuration that should be used for the transformationCopyright © 2012-2021 MapStruct Authors; All rights reserved. Released under the Apache Software License 2.0.