Class PluginProperties

java.lang.Object
org.graylog2.shared.plugins.PluginProperties

public class PluginProperties extends Object
  • Constructor Details

    • PluginProperties

      public PluginProperties(Properties properties)
  • Method Details

    • fromJarFile

      public static PluginProperties fromJarFile(String filename)
      Loads the Graylog plugin properties file from the given JAR file. The path to the properties file resource inside the JAR file is stored in the "Graylog-Plugin-Properties-Path" attribute of the JAR manifest. (Example: org.graylog.plugins.graylog-plugin-map-widget) If the plugin properties file does not exist or cannot be found (like in older plugins) a default PluginProperties object will be returned.
      Parameters:
      filename - path to the JAR file
      Returns:
      the plugin properties object
    • isIsolated

      public boolean isIsolated()