org.testifyproject.fasterxml.jackson.databind.cfg.MutableConfigOverride Maven / Gradle / Ivy
The newest version!
package org.testifyproject.testifyproject.fasterxml.jackson.databind.cfg;
import org.testifyproject.testifyproject.fasterxml.jackson.annotation.JsonFormat;
import org.testifyproject.testifyproject.fasterxml.jackson.annotation.JsonIgnoreProperties;
import org.testifyproject.testifyproject.fasterxml.jackson.annotation.JsonInclude;
/**
* Extension of {@link ConfigOverride} that allows changing of
* contained configuration settings. Exposed to
* {@link org.testifyproject.testifyproject.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;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy