public static enum JacksonProperties.ConstructorDetectorStrategy extends Enum<JacksonProperties.ConstructorDetectorStrategy>
Enum Constant and Description |
---|
DEFAULT
Use heuristics to see if "properties" mode is to be used.
|
EXPLICIT_ONLY
Refuse to decide implicit mode and instead throw an InvalidDefinitionException
for ambiguous cases.
|
USE_DELEGATING
Assume "delegating" mode if not explicitly annotated otherwise.
|
USE_PROPERTIES_BASED
Assume "properties" mode if not explicitly annotated otherwise.
|
Modifier and Type | Method and Description |
---|---|
static JacksonProperties.ConstructorDetectorStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JacksonProperties.ConstructorDetectorStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JacksonProperties.ConstructorDetectorStrategy DEFAULT
public static final JacksonProperties.ConstructorDetectorStrategy USE_PROPERTIES_BASED
public static final JacksonProperties.ConstructorDetectorStrategy USE_DELEGATING
public static final JacksonProperties.ConstructorDetectorStrategy EXPLICIT_ONLY
public static JacksonProperties.ConstructorDetectorStrategy[] values()
for (JacksonProperties.ConstructorDetectorStrategy c : JacksonProperties.ConstructorDetectorStrategy.values()) System.out.println(c);
public static JacksonProperties.ConstructorDetectorStrategy valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null