Interface ConfigService


public interface ConfigService
  • Method Details

    • registerConfigListener

      void registerConfigListener(ConfigListener listener)
      Registers a listener that will receive a callback when the plugin's property values are changed.
    • getStringProperty

      StringProperty getStringProperty(String name)
      Returns the 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.
    • getBooleanProperty

      BooleanProperty getBooleanProperty(String name)
      Returns the 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.
    • getDoubleProperty

      DoubleProperty getDoubleProperty(String name)
      Returns the 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.
    • getListProperty

      ListProperty getListProperty(String name)
      Returns the 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.