|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.plugin.util.PluginUtils
public class PluginUtils
General plugin utility methods
| Constructor Summary | |
|---|---|
PluginUtils()
|
|
| Method Summary | |
|---|---|
static boolean |
doesModuleElementApplyToApplication(org.dom4j.Element element,
java.util.Set<java.lang.String> keys)
Determines if a module element applies to the current application by matching the 'application' attribute to the set of keys. |
static boolean |
doesPluginRequireRestart(Plugin plugin)
Determines if a plugin requires a restart after being installed at runtime. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PluginUtils()
| Method Detail |
|---|
public static boolean doesPluginRequireRestart(Plugin plugin)
RequiresRestart on the plugin's module descriptors.
plugin - The plugin that was just installed at runtime, but not yet enabled
public static boolean doesModuleElementApplyToApplication(org.dom4j.Element element,
java.util.Set<java.lang.String> keys)
element - The module elementkeys - The set of application keys
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||