Interface ConfigService
public interface ConfigService
-
Method Summary
Modifier and TypeMethodDescriptiongetBooleanProperty(String name) Returns thebooleanplugin property value with the specifiedname.getDoubleProperty(String name) Returns theDoubleplugin property value with the specifiedname.getListProperty(String name) Returns theListplugin property value with the specifiedname.getStringProperty(String name) Returns theStringplugin property value with the specifiedname.voidregisterConfigListener(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 theStringplugin property value with the specifiedname.nullis never returned. If there is noStringplugin property with the specifiednamethen 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 thebooleanplugin property value with the specifiedname. If there is nobooleanplugin property with the specifiednamethenfalseis 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 theDoubleplugin property value with the specifiedname. If there is noDoubleplugin property with the specifiednamethennullis 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 theListplugin property value with the specifiedname.nullis never returned. If there is noStringplugin property with the specifiednamethen 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.
-