public interface ConfigService
| Modifier and Type | Method and Description |
|---|---|
BooleanProperty |
getBooleanProperty(String name)
Returns the
boolean plugin property value with the specified name. |
DoubleProperty |
getDoubleProperty(String name)
Returns the
Double plugin property value with the specified name. |
ListProperty |
getListProperty(String name)
Returns the
List plugin property value with the specified name. |
StringProperty |
getStringProperty(String name)
Returns the
String plugin property value with the specified name. |
void |
registerConfigListener(ConfigListener listener)
Registers a listener that will receive a callback when the plugin's property values are
changed.
|
BooleanProperty getBooleanProperty(String name)
boolean plugin property value with the specified name. If there
is no boolean plugin property with the specified name then false 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.DoubleProperty getDoubleProperty(String name)
Double plugin property value with the specified name. If there is
no Double plugin property with the specified name then null 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.ListProperty getListProperty(String name)
List plugin property value with the specified name. null
is never returned. If there is no String plugin property with the specified
name 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.StringProperty getStringProperty(String name)
String plugin property value with the specified name.
null is never returned. If there is no String plugin property with the
specified name 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.void registerConfigListener(ConfigListener listener)
Copyright © 2011–2019 Glowroot contributors. All rights reserved.