Class MutableConfigOverride
- java.lang.Object
-
- com.fasterxml.jackson.databind.cfg.ConfigOverride
-
- com.fasterxml.jackson.databind.cfg.MutableConfigOverride
-
- All Implemented Interfaces:
java.io.Serializable
public class MutableConfigOverride extends ConfigOverride implements java.io.Serializable
Extension ofConfigOverride
that allows changing of contained configuration settings. Exposed toModule
s that want to set overrides, but not exposed to functionality that wants to apply overrides.- Since:
- 2.8
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MutableConfigOverride()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableConfigOverride
copy()
MutableConfigOverride
setFormat(JsonFormat.Value v)
MutableConfigOverride
setIgnorals(JsonIgnoreProperties.Value v)
MutableConfigOverride
setInclude(JsonInclude.Value v)
Override inclusion setting for all properties contained in POJOs of the associated type.MutableConfigOverride
setIncludeAsProperty(JsonInclude.Value v)
Override inclusion setting for properties of the associated type regardless of the type of the POJO containing it.MutableConfigOverride
setIsIgnoredType(java.lang.Boolean v)
MutableConfigOverride
setMergeable(java.lang.Boolean v)
MutableConfigOverride
setSetterInfo(JsonSetter.Value v)
MutableConfigOverride
setVisibility(JsonAutoDetect.Value v)
-
Methods inherited from class com.fasterxml.jackson.databind.cfg.ConfigOverride
empty, getFormat, getIgnorals, getInclude, getIncludeAsProperty, getIsIgnoredType, getMergeable, getSetterInfo, getVisibility
-
-
-
-
Method Detail
-
copy
public MutableConfigOverride copy()
-
setFormat
public MutableConfigOverride setFormat(JsonFormat.Value v)
-
setInclude
public MutableConfigOverride setInclude(JsonInclude.Value v)
Override inclusion setting for all properties contained in POJOs of the associated type.- Parameters:
v
- Inclusion setting to apply contained properties.
-
setIncludeAsProperty
public MutableConfigOverride setIncludeAsProperty(JsonInclude.Value v)
Override inclusion setting for properties of the associated type regardless of the type of the POJO containing it.- Parameters:
v
- Inclusion setting to apply for properties of associated type.- Since:
- 2.9
-
setIgnorals
public MutableConfigOverride setIgnorals(JsonIgnoreProperties.Value v)
-
setIsIgnoredType
public MutableConfigOverride setIsIgnoredType(java.lang.Boolean v)
-
setSetterInfo
public MutableConfigOverride setSetterInfo(JsonSetter.Value v)
- Since:
- 2.9
-
setVisibility
public MutableConfigOverride setVisibility(JsonAutoDetect.Value v)
- Since:
- 2.9
-
setMergeable
public MutableConfigOverride setMergeable(java.lang.Boolean v)
- Since:
- 2.9
-
-