Class BindingsConfig

java.lang.Object
ru.vyarus.dropwizard.guice.debug.report.yaml.BindingsConfig

public class BindingsConfig extends Object
Configuration for configuration bindings report (ConfigBindingsRenderer).
Since:
13.06.2018
  • Constructor Details

    • BindingsConfig

      public BindingsConfig()
  • Method Details

    • showConfigurationTree

      public BindingsConfig showConfigurationTree()
      Show visible configuration tree. Note that other options affects tree render.
      Returns:
      config object for chained calls
    • showConfigurationTreeOnly

      public BindingsConfig showConfigurationTreeOnly()
      Show configuration values tree only without bindings.
      Returns:
      config object for chained calls
    • showNullValues

      public BindingsConfig showNullValues()
      Show paths with null values.
      Returns:
      config object for chained calls
    • showCustomConfigOnly

      public BindingsConfig showCustomConfigOnly()
      Avoid paths from dropwizard Configuration class (only custom configuration paths shown).
      Returns:
      config object for chained calls
    • isShowConfigurationTree

      public boolean isShowConfigurationTree()
      Returns:
      true to print configuration tree, false to avoid
    • isShowBindings

      public boolean isShowBindings()
      Returns:
      true to print bindings, false to avoid (assumed tree is enabled to show only tree)
    • isShowNullValues

      public boolean isShowNullValues()
      Returns:
      true to show paths with null values, false to hide null value paths
    • isShowCustomConfigOnly

      public boolean isShowCustomConfigOnly()
      Returns:
      true to hide dropwizard configuration bindings, false to show all binding paths