org.apache.juli.logging.com.fasterxml.jackson.databind.EnumNamingStrategy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tomcat10-slf4j-logback Show documentation
Show all versions of tomcat10-slf4j-logback Show documentation
Tomcat10 Slf4j Logback Integration
package org.apache.juli.logging.com.fasterxml.jackson.databind;
/**
* Defines how the string representation of an enum is converted into an external property name for mapping
* during deserialization.
*
* @since 2.15
*/
public interface EnumNamingStrategy {
/**
* Translates the given enumName
into an external property name according to
* the implementation of this {@link EnumNamingStrategy}.
*
* @param enumName the name of the enum value to translate
* @return the external property name that corresponds to the given enumName
* according to the implementation of this {@link EnumNamingStrategy}.
*
* @since 2.15
*/
public String convertEnumToExternalName(String enumName);
}