Class BindingsConfig
- java.lang.Object
-
- ru.vyarus.dropwizard.guice.debug.report.yaml.BindingsConfig
-
public class BindingsConfig extends java.lang.Object
Configuration 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 boolean
isShowBindings()
boolean
isShowConfigurationTree()
boolean
isShowCustomConfigOnly()
boolean
isShowNullValues()
BindingsConfig
showConfigurationTree()
Show visible configuration tree.BindingsConfig
showConfigurationTreeOnly()
Show configuration values tree only without bindings.BindingsConfig
showCustomConfigOnly()
Avoid paths from dropwizardConfiguration
class (only custom configuration paths shown).BindingsConfig
showNullValues()
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 dropwizardConfiguration
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
-
-