Package org.graylog2.shared.plugins
Class PluginProperties
java.lang.Object
org.graylog2.shared.plugins.PluginProperties
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic PluginProperties
fromJarFile
(String filename) Loads the Graylog plugin properties file from the given JAR file.boolean
-
Constructor Details
-
PluginProperties
-
-
Method Details
-
fromJarFile
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 defaultPluginProperties
object will be returned.- Parameters:
filename
- path to the JAR file- Returns:
- the plugin properties object
-
isIsolated
public boolean isIsolated()
-