Top Description Fields Constructors Methods
com.fasterxml.jackson.databind.cfg

public Class MutableConfigOverride

extends ConfigOverride
implements Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable
Imports
com.fasterxml.jackson.annotation.JsonAutoDetect, .JsonFormat, .JsonIgnoreProperties, .JsonInclude, .JsonSetter

Extension of ConfigOverride that allows changing of contained configuration settings. Exposed to com.fasterxml.jackson.databind.Modules that want to set overrides, but not exposed to functionality that wants to apply overrides.
Since
2.8

Field Summary

Modifier and TypeField and Description
private static final long
Inherited from com.fasterxml.jackson.databind.cfg.ConfigOverride:
_format_ignorals_include_includeAsProperty_isIgnoredType_mergeable_setterInfo_visibility

Constructor Summary

AccessConstructor and Description
public
protected

Method Summary

Modifier and TypeMethod and Description
public MutableConfigOverride
copy()

public MutableConfigOverride
public MutableConfigOverride
public MutableConfigOverride
setInclude(JsonInclude.Value
Inclusion setting to apply contained properties.
v
)

Override inclusion setting for all properties contained in POJOs of the associated type.

public MutableConfigOverride
setIncludeAsProperty(JsonInclude.Value
Inclusion setting to apply for properties of associated type.
v
)

Override inclusion setting for properties of the associated type regardless of the type of the POJO containing it.

public MutableConfigOverride
public MutableConfigOverride
public MutableConfigOverride
public MutableConfigOverride
Inherited from com.fasterxml.jackson.databind.cfg.ConfigOverride:
emptygetFormatgetIgnoralsgetIncludegetIncludeAsPropertygetIsIgnoredTypegetMergeablegetSetterInfogetVisibility

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Constructor Detail

MutableConfigOverrideback to summary
public MutableConfigOverride()
MutableConfigOverrideback to summary
protected MutableConfigOverride(MutableConfigOverride src)

Method Detail

copyback to summary
public MutableConfigOverride copy()
setFormatback to summary
public MutableConfigOverride setFormat(JsonFormat.Value v)
setIgnoralsback to summary
public MutableConfigOverride setIgnorals(JsonIgnoreProperties.Value v)
setIncludeback to summary
public MutableConfigOverride setInclude(JsonInclude.Value v)

Override inclusion setting for all properties contained in POJOs of the associated type.

Parameters
v:JsonInclude.Value

Inclusion setting to apply contained properties.

setIncludeAsPropertyback to summary
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:JsonInclude.Value

Inclusion setting to apply for properties of associated type.

Since
2.9
setIsIgnoredTypeback to summary
public MutableConfigOverride setIsIgnoredType(Boolean v)
setMergeableback to summary
public MutableConfigOverride setMergeable(Boolean v)
Since
2.9
setSetterInfoback to summary
public MutableConfigOverride setSetterInfo(JsonSetter.Value v)
Since
2.9
setVisibilityback to summary
public MutableConfigOverride setVisibility(JsonAutoDetect.Value v)
Since
2.9