public static class JsonAutoDetect.Value extends Object implements JacksonAnnotationValue<JsonAutoDetect>, Serializable
JsonIgnoreProperties
annotation, as well as to provide possible overrides from non-annotation sources.Modifier and Type | Field and Description |
---|---|
protected JsonAutoDetect.Visibility |
_creatorVisibility |
protected JsonAutoDetect.Visibility |
_fieldVisibility |
protected JsonAutoDetect.Visibility |
_getterVisibility |
protected JsonAutoDetect.Visibility |
_isGetterVisibility |
protected JsonAutoDetect.Visibility |
_setterVisibility |
protected static JsonAutoDetect.Value |
DEFAULT
Default instance with baseline visibility checking:
Only public fields visible
Only public getters, is-getters visible
All setters (regardless of access) visible
Only public Creators visible
|
protected static JsonAutoDetect.Value |
NO_OVERRIDES
Empty instance that specifies no overrides, that is, all visibility
levels set as
JsonAutoDetect.Visibility.DEFAULT . |
protected static final JsonAutoDetect.Value DEFAULT
protected static final JsonAutoDetect.Value NO_OVERRIDES
JsonAutoDetect.Visibility.DEFAULT
.protected final JsonAutoDetect.Visibility _fieldVisibility
protected final JsonAutoDetect.Visibility _getterVisibility
protected final JsonAutoDetect.Visibility _isGetterVisibility
protected final JsonAutoDetect.Visibility _setterVisibility
protected final JsonAutoDetect.Visibility _creatorVisibility
public static JsonAutoDetect.Value defaultVisibility()
public static JsonAutoDetect.Value noOverrides()
public static JsonAutoDetect.Value from(JsonAutoDetect src)
public static JsonAutoDetect.Value construct(PropertyAccessor acc, JsonAutoDetect.Visibility visibility)
ALL
, all of them) set as specified; and the
rest (if any) set as JsonAutoDetect.Visibility.DEFAULT
).public static JsonAutoDetect.Value construct(JsonAutoDetect.Visibility fields, JsonAutoDetect.Visibility getters, JsonAutoDetect.Visibility isGetters, JsonAutoDetect.Visibility setters, JsonAutoDetect.Visibility creators)
public JsonAutoDetect.Value withFieldVisibility(JsonAutoDetect.Visibility v)
public JsonAutoDetect.Value withGetterVisibility(JsonAutoDetect.Visibility v)
public JsonAutoDetect.Value withIsGetterVisibility(JsonAutoDetect.Visibility v)
public JsonAutoDetect.Value withSetterVisibility(JsonAutoDetect.Visibility v)
public JsonAutoDetect.Value withCreatorVisibility(JsonAutoDetect.Visibility v)
public static JsonAutoDetect.Value merge(JsonAutoDetect.Value base, JsonAutoDetect.Value overrides)
public JsonAutoDetect.Value withOverrides(JsonAutoDetect.Value overrides)
public Class<JsonAutoDetect> valueFor()
JacksonAnnotationValue
valueFor
in interface JacksonAnnotationValue<JsonAutoDetect>
public JsonAutoDetect.Visibility getFieldVisibility()
public JsonAutoDetect.Visibility getGetterVisibility()
public JsonAutoDetect.Visibility getIsGetterVisibility()
public JsonAutoDetect.Visibility getSetterVisibility()
public JsonAutoDetect.Visibility getCreatorVisibility()
protected Object readResolve()
Copyright © 2008–2020 FasterXML. All rights reserved.