ConfigOverride values.
| Modifier and Type | Field and Description |
|---|---|
| protected JsonInclude. | |
| protected Boolean | |
| protected Boolean | |
| protected JsonSetter. | |
| protected Map | _overrides
Per-type override definitions |
| protected VisibilityChecker | |
| private static final VisibilityChecker | |
| private static final VisibilityChecker | |
| pack-priv static final JsonInclude. | INCLUDE_DEFAULT
Convenience value used as the default root setting. |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | |
| protected | ConfigOverrides(Map<Class<?>, MutableConfigOverride> overrides, JsonInclude.
|
| Modifier and Type | Method and Description |
|---|---|
| protected Map | |
| public JsonFormat. | Returns: Default format settings for type; never null.Specific accessor for finding {code JsonFormat.Value} for given type, considering global default for leniency as well as per-type format override (if any). |
| public MutableConfigOverride | |
| public ConfigOverride | |
| public JsonInclude. | |
| public Boolean | |
| public Boolean | |
| public JsonSetter. | |
| public VisibilityChecker | getDefaultRecordVisibility()
Alternate accessor needed due to complexities of Record auto-discovery: needs to obey custom overrides but also give alternate "default default" if no customizations made. |
| public VisibilityChecker | |
| public ConfigOverrides | |
| public ConfigOverrides | |
| public ConfigOverrides | |
| public ConfigOverrides | |
| public ConfigOverrides | |
| public ConfigOverrides | |
| public ConfigOverrides | snapshot()
Implements tools. Method to call to get an instance that may not be modified through any other object, including `this`. |
| public String |
| _defaultInclusion | back to summary |
|---|---|
| protected JsonInclude. | |
| _defaultLeniency | back to summary |
|---|---|
| protected Boolean _defaultLeniency | |
| _defaultMergeable | back to summary |
|---|---|
| protected Boolean _defaultMergeable | |
| _defaultNullHandling | back to summary |
|---|---|
| protected JsonSetter. | |
| _overrides | back to summary |
|---|---|
| protected Map<Class<?>, MutableConfigOverride> _overrides Per-type override definitions | |
| _visibilityChecker | back to summary |
|---|---|
| protected VisibilityChecker _visibilityChecker | |
| DEFAULT_RECORD_VISIBILITY_CHECKER | back to summary |
|---|---|
| private static final VisibilityChecker DEFAULT_RECORD_VISIBILITY_CHECKER | |
| DEFAULT_VISIBILITY_CHECKER | back to summary |
|---|---|
| private static final VisibilityChecker DEFAULT_VISIBILITY_CHECKER | |
| INCLUDE_DEFAULT | back to summary |
|---|---|
| pack-priv static final JsonInclude. Convenience value used as the default root setting. Note that although in a way it would make sense use "ALWAYS" for both, problems arise in some cases where default is seen as explicit setting, overriding possible per-class annotation; hence use of "USE_DEFAULTS".
| |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| ConfigOverrides | back to summary |
|---|---|
| public ConfigOverrides() | |
| ConfigOverrides | back to summary |
|---|---|
| protected ConfigOverrides(Map<Class<?>, MutableConfigOverride> overrides, JsonInclude. | |
| _newMap | back to summary |
|---|---|
| protected Map | |
| findFormatDefaults | back to summary |
|---|---|
| public JsonFormat. Specific accessor for finding {code JsonFormat.Value} for given type, considering global default for leniency as well as per-type format override (if any).
| |
| findOrCreateOverride | back to summary |
|---|---|
| public MutableConfigOverride findOrCreateOverride(Class<?> type) | |
| findOverride | back to summary |
|---|---|
| public ConfigOverride findOverride(Class<?> type) | |
| getDefaultInclusion | back to summary |
|---|---|
| public JsonInclude. | |
| getDefaultLeniency | back to summary |
|---|---|
| public Boolean getDefaultLeniency() | |
| getDefaultMergeable | back to summary |
|---|---|
| public Boolean getDefaultMergeable() | |
| getDefaultNullHandling | back to summary |
|---|---|
| public JsonSetter. | |
| getDefaultRecordVisibility | back to summary |
|---|---|
| public VisibilityChecker getDefaultRecordVisibility() Alternate accessor needed due to complexities of Record auto-discovery: needs to obey custom overrides but also give alternate "default default" if no customizations made.
| |
| getDefaultVisibility | back to summary |
|---|---|
| public VisibilityChecker getDefaultVisibility() | |
| setDefaultInclusion | back to summary |
|---|---|
| public ConfigOverrides setDefaultInclusion(JsonInclude. | |
| setDefaultLeniency | back to summary |
|---|---|
| public ConfigOverrides setDefaultLeniency(Boolean b) | |
| setDefaultMergeable | back to summary |
|---|---|
| public ConfigOverrides setDefaultMergeable(Boolean b) | |
| setDefaultNullHandling | back to summary |
|---|---|
| public ConfigOverrides setDefaultNullHandling(JsonSetter. | |
| setDefaultVisibility | back to summary |
|---|---|
| public ConfigOverrides setDefaultVisibility(VisibilityChecker v) | |
| setDefaultVisibility | back to summary |
|---|---|
| public ConfigOverrides setDefaultVisibility(JsonAutoDetect. | |
| snapshot | back to summary |
|---|---|
| public ConfigOverrides snapshot() Implements tools. Doc from tools. Method to call to get an instance that may not be modified through any other object, including `this`. That instance may be `this` if (and only if) this instance is effectively immutable (unmodifiable) through its API: if this is not the case, a new copy with same configuration must be created and returned.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |