Class BindingsConfig
- java.lang.Object
-
- ru.vyarus.dropwizard.guice.debug.report.yaml.BindingsConfig
-
public class BindingsConfig extends java.lang.ObjectConfiguration for configuration bindings report (ConfigBindingsRenderer).- Since:
- 13.06.2018
-
-
Constructor Summary
Constructors Constructor Description BindingsConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisShowBindings()booleanisShowConfigurationTree()booleanisShowCustomConfigOnly()booleanisShowNullValues()BindingsConfigshowConfigurationTree()Show visible configuration tree.BindingsConfigshowConfigurationTreeOnly()Show configuration values tree only without bindings.BindingsConfigshowCustomConfigOnly()Avoid paths from dropwizardConfigurationclass (only custom configuration paths shown).BindingsConfigshowNullValues()Show paths with null values.
-
-
-
Method Detail
-
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 dropwizardConfigurationclass (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
-
-