Enum JacksonProperties.ConstructorDetectorStrategy
java.lang.Object
java.lang.Enum<JacksonProperties.ConstructorDetectorStrategy>
org.springframework.boot.autoconfigure.jackson.JacksonProperties.ConstructorDetectorStrategy
- All Implemented Interfaces:
Serializable
,Comparable<JacksonProperties.ConstructorDetectorStrategy>
,Constable
- Enclosing class:
- JacksonProperties
public static enum JacksonProperties.ConstructorDetectorStrategy
extends Enum<JacksonProperties.ConstructorDetectorStrategy>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionUse heuristics to see if "properties" mode is to be used.Refuse to decide implicit mode and instead throw an InvalidDefinitionException for ambiguous cases.Assume "delegating" mode if not explicitly annotated otherwise.Assume "properties" mode if not explicitly annotated otherwise. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
DEFAULT
Use heuristics to see if "properties" mode is to be used. -
USE_PROPERTIES_BASED
Assume "properties" mode if not explicitly annotated otherwise. -
USE_DELEGATING
Assume "delegating" mode if not explicitly annotated otherwise. -
EXPLICIT_ONLY
Refuse to decide implicit mode and instead throw an InvalidDefinitionException for ambiguous cases.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-