Class MutableConfigOverride
java.lang.Object
tools.jackson.databind.cfg.ConfigOverride
tools.jackson.databind.cfg.MutableConfigOverride
- All Implemented Interfaces:
Serializable
Extension of
ConfigOverride that allows changing of
contained configuration settings. Exposed to
JacksonModules that want to set
overrides, but not exposed to functionality that wants to apply
overrides.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class ConfigOverride
ConfigOverride.Empty -
Field Summary
FieldsFields inherited from class ConfigOverride
_format, _ignorals, _include, _includeAsProperty, _isIgnoredType, _mergeable, _nullHandling, _visibility -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptioncopy()setFormat(com.fasterxml.jackson.annotation.JsonFormat.Value v) setIgnorals(com.fasterxml.jackson.annotation.JsonIgnoreProperties.Value v) setInclude(com.fasterxml.jackson.annotation.JsonInclude.Value v) Override inclusion setting for all properties contained in POJOs of the associated type.setIncludeAsProperty(com.fasterxml.jackson.annotation.JsonInclude.Value v) Override inclusion setting for properties of the associated type regardless of the type of the POJO containing it.setNullHandling(com.fasterxml.jackson.annotation.JsonSetter.Value v) setVisibility(com.fasterxml.jackson.annotation.JsonAutoDetect.Value v) Methods inherited from class ConfigOverride
empty, getFormat, getFormatOrEmpty, getIgnorals, getInclude, getIncludeAsProperty, getIsIgnoredType, getMergeable, getNullHandling, getVisibility, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
MutableConfigOverride
public MutableConfigOverride() -
MutableConfigOverride
-
-
Method Details
-
copy
-
setFormat
-
setInclude
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(com.fasterxml.jackson.annotation.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(com.fasterxml.jackson.annotation.JsonIgnoreProperties.Value v) -
setIsIgnoredType
-
setNullHandling
-
setVisibility
-
setMergeable
-