Interface ConfigService
public interface ConfigService
-
Method Summary
Modifier and TypeMethodDescriptiongetBooleanProperty
(String name) Returns theboolean
plugin property value with the specifiedname
.getDoubleProperty
(String name) Returns theDouble
plugin property value with the specifiedname
.getListProperty
(String name) Returns theList
plugin property value with the specifiedname
.getStringProperty
(String name) Returns theString
plugin property value with the specifiedname
.void
registerConfigListener
(ConfigListener listener) Registers a listener that will receive a callback when the plugin's property values are changed.
-
Method Details
-
registerConfigListener
Registers a listener that will receive a callback when the plugin's property values are changed. -
getStringProperty
Returns theString
plugin property value with the specifiedname
.null
is never returned. If there is noString
plugin property with the specifiedname
then the empty string""
is returned. Plugin properties are scoped per plugin. The are defined in the plugin's META-INF/glowroot.plugin.json file, and can be modified (assuming they are not marked as hidden) on the configuration page under the plugin's configuration section. -
getBooleanProperty
Returns theboolean
plugin property value with the specifiedname
. If there is noboolean
plugin property with the specifiedname
thenfalse
is returned. Plugin properties are scoped per plugin. The are defined in the plugin's META-INF/glowroot.plugin.json file, and can be modified (assuming they are not marked as hidden) on the configuration page under the plugin's configuration section. -
getDoubleProperty
Returns theDouble
plugin property value with the specifiedname
. If there is noDouble
plugin property with the specifiedname
thennull
is returned. Plugin properties are scoped per plugin. The are defined in the plugin's META-INF/glowroot.plugin.json file, and can be modified (assuming they are not marked as hidden) on the configuration page under the plugin's configuration section. -
getListProperty
Returns theList
plugin property value with the specifiedname
.null
is never returned. If there is noString
plugin property with the specifiedname
then the empty list is returned. Plugin properties are scoped per plugin. The are defined in the plugin's META-INF/glowroot.plugin.json file, and can be modified (assuming they are not marked as hidden) on the configuration page under the plugin's configuration section.
-