public class ConfigOverrides extends Object implements Serializable
ConfigOverride
values.Modifier and Type | Field and Description |
---|---|
protected com.fasterxml.jackson.annotation.JsonInclude.Value |
_defaultInclusion |
protected Boolean |
_defaultLeniency
Global default setting (if any) for leniency: if disabled ({link Boolean#TRUE}),
"strict" (not lenient): default setting if absence of value is considered "lenient"
in Jackson 2.x.
|
protected Boolean |
_defaultMergeable |
protected com.fasterxml.jackson.annotation.JsonSetter.Value |
_defaultSetterInfo |
protected Map<Class<?>,MutableConfigOverride> |
_overrides
Per-type override definitions
|
protected VisibilityChecker<?> |
_visibilityChecker |
Modifier | Constructor and Description |
---|---|
|
ConfigOverrides() |
protected |
ConfigOverrides(Map<Class<?>,MutableConfigOverride> overrides,
com.fasterxml.jackson.annotation.JsonInclude.Value defIncl,
com.fasterxml.jackson.annotation.JsonSetter.Value defSetter,
VisibilityChecker<?> defVisibility,
Boolean defMergeable)
Deprecated.
Since 2.10
|
protected |
ConfigOverrides(Map<Class<?>,MutableConfigOverride> overrides,
com.fasterxml.jackson.annotation.JsonInclude.Value defIncl,
com.fasterxml.jackson.annotation.JsonSetter.Value defSetter,
VisibilityChecker<?> defVisibility,
Boolean defMergeable,
Boolean defLeniency) |
Modifier and Type | Method and Description |
---|---|
protected Map<Class<?>,MutableConfigOverride> |
_newMap() |
ConfigOverrides |
copy() |
com.fasterxml.jackson.annotation.JsonFormat.Value |
findFormatDefaults(Class<?> type)
Specific accessor for finding {code JsonFormat.Value} for given type,
considering global default for leniency as well as per-type format
override (if any).
|
MutableConfigOverride |
findOrCreateOverride(Class<?> type) |
ConfigOverride |
findOverride(Class<?> type) |
com.fasterxml.jackson.annotation.JsonInclude.Value |
getDefaultInclusion() |
Boolean |
getDefaultLeniency() |
Boolean |
getDefaultMergeable() |
com.fasterxml.jackson.annotation.JsonSetter.Value |
getDefaultSetterInfo() |
VisibilityChecker<?> |
getDefaultVisibility() |
void |
setDefaultInclusion(com.fasterxml.jackson.annotation.JsonInclude.Value v) |
void |
setDefaultLeniency(Boolean v) |
void |
setDefaultMergeable(Boolean v) |
void |
setDefaultSetterInfo(com.fasterxml.jackson.annotation.JsonSetter.Value v) |
void |
setDefaultVisibility(VisibilityChecker<?> v) |
protected Map<Class<?>,MutableConfigOverride> _overrides
protected com.fasterxml.jackson.annotation.JsonInclude.Value _defaultInclusion
protected com.fasterxml.jackson.annotation.JsonSetter.Value _defaultSetterInfo
protected VisibilityChecker<?> _visibilityChecker
protected Boolean _defaultMergeable
protected Boolean _defaultLeniency
public ConfigOverrides()
protected ConfigOverrides(Map<Class<?>,MutableConfigOverride> overrides, com.fasterxml.jackson.annotation.JsonInclude.Value defIncl, com.fasterxml.jackson.annotation.JsonSetter.Value defSetter, VisibilityChecker<?> defVisibility, Boolean defMergeable, Boolean defLeniency)
@Deprecated protected ConfigOverrides(Map<Class<?>,MutableConfigOverride> overrides, com.fasterxml.jackson.annotation.JsonInclude.Value defIncl, com.fasterxml.jackson.annotation.JsonSetter.Value defSetter, VisibilityChecker<?> defVisibility, Boolean defMergeable)
public ConfigOverrides copy()
public ConfigOverride findOverride(Class<?> type)
public MutableConfigOverride findOrCreateOverride(Class<?> type)
public com.fasterxml.jackson.annotation.JsonFormat.Value findFormatDefaults(Class<?> type)
public com.fasterxml.jackson.annotation.JsonInclude.Value getDefaultInclusion()
public com.fasterxml.jackson.annotation.JsonSetter.Value getDefaultSetterInfo()
public Boolean getDefaultMergeable()
public Boolean getDefaultLeniency()
public VisibilityChecker<?> getDefaultVisibility()
public void setDefaultInclusion(com.fasterxml.jackson.annotation.JsonInclude.Value v)
public void setDefaultSetterInfo(com.fasterxml.jackson.annotation.JsonSetter.Value v)
public void setDefaultMergeable(Boolean v)
public void setDefaultLeniency(Boolean v)
public void setDefaultVisibility(VisibilityChecker<?> v)
protected Map<Class<?>,MutableConfigOverride> _newMap()
Copyright © 2008–2024 FasterXML. All rights reserved.