public interface EnumTranslationConfiguration
| Modifier and Type | Method and Description |
|---|---|
void |
setEnableDefaultTranslation(boolean enableDefaultTranslation)
Configures whether the default translation of enum names shall be applied.
|
void |
setParseEnumNameAsFallback(boolean parseEnumNameAsFallback)
Configures whether to always accept the raw enum name when parsing.
|
void setEnableDefaultTranslation(boolean enableDefaultTranslation)
Strings and also parse them if - only if - no
explicit translation is available.enableDefaultTranslation - whether to enable the default translation of enum names.void setParseEnumNameAsFallback(boolean parseEnumNameAsFallback)
parseEnumNameAsFallback - whether to parse the raw enum value as fallback, even if an explicit translation is
available.Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.