
public class StripSuffixEnumTransformationStrategy extends Object implements EnumTransformationStrategy
| Constructor and Description |
|---|
StripSuffixEnumTransformationStrategy() |
| 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, waitinitpublic StripSuffixEnumTransformationStrategy()
public String getStrategyName()
EnumTransformationStrategygetStrategyName in interface EnumTransformationStrategynullpublic String transform(String value, String configuration)
EnumTransformationStrategyconfiguration.transform in interface EnumTransformationStrategyvalue - 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.