Class ConfigOverrides

  • All Implemented Interfaces:
    java.io.Serializable

    public class ConfigOverrides
    extends java.lang.Object
    implements java.io.Serializable
    Container for individual ConfigOverride values.
    Since:
    2.8
    See Also:
    Serialized Form
    • Constructor Detail

      • ConfigOverrides

        public ConfigOverrides()
    • Method Detail

      • findOverride

        public ConfigOverride findOverride​(java.lang.Class<?> type)
      • findFormatDefaults

        public JsonFormat.Value findFormatDefaults​(java.lang.Class<?> type)
        Specific accessor for finding {code JsonFormat.Value} for given type, considering global default for leniency as well as per-type format override (if any).
        Returns:
        Default format settings for type; never null.
        Since:
        2.10
      • getDefaultMergeable

        public java.lang.Boolean getDefaultMergeable()
      • getDefaultLeniency

        public java.lang.Boolean getDefaultLeniency()
        Since:
        2.10
      • getDefaultVisibility

        public VisibilityChecker<?> getDefaultVisibility()
        Since:
        2.9
      • setDefaultInclusion

        public void setDefaultInclusion​(JsonInclude.Value v)
        Since:
        2.9
      • setDefaultSetterInfo

        public void setDefaultSetterInfo​(JsonSetter.Value v)
        Since:
        2.9
      • setDefaultMergeable

        public void setDefaultMergeable​(java.lang.Boolean v)
        Since:
        2.9
      • setDefaultLeniency

        public void setDefaultLeniency​(java.lang.Boolean v)
        Since:
        2.10
      • setDefaultVisibility

        public void setDefaultVisibility​(VisibilityChecker<?> v)
        Since:
        2.9