io.honeybadger.com.fasterxml.jackson.databind.cfg.MutableConfigOverride Maven / Gradle / Ivy
package com.fasterxml.jackson.databind.cfg;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
/**
* Extension of {@link ConfigOverride} that allows changing of
* contained configuration settings. Exposed to
* {@link com.fasterxml.jackson.databind.Module}s that want to set
* overrides, but not exposed to functionality that wants to apply
* overrides.
*
* @since 2.8
*/
public class MutableConfigOverride
extends ConfigOverride
implements java.io.Serializable
{
private static final long serialVersionUID = 1L;
public MutableConfigOverride() { super(); }
protected MutableConfigOverride(MutableConfigOverride src) {
super(src);
}
protected MutableConfigOverride copy() {
return new MutableConfigOverride(this);
}
public MutableConfigOverride setFormat(JsonFormat.Value v) {
_format = v;
return this;
}
public MutableConfigOverride setInclude(JsonInclude.Value v) {
_include = v;
return this;
}
public MutableConfigOverride setIgnorals(JsonIgnoreProperties.Value v) {
_ignorals = v;
return this;
}
public MutableConfigOverride setIsIgnoredType(Boolean v) {
_isIgnoredType = v;
return this;
}
}