com.atlassian.plugin.parsers
Class PluginDescriptorReader
java.lang.Object
com.atlassian.plugin.parsers.PluginDescriptorReader
public final class PluginDescriptorReader
- extends Object
A simple class to read the basic elements of a plugin descriptor.
- Since:
- 3.0.0
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PluginDescriptorReader
public PluginDescriptorReader(org.dom4j.Document descriptor,
Set<Application> applications)
getDescriptor
public org.dom4j.Document getDescriptor()
getPluginKey
public String getPluginKey()
getPluginName
public String getPluginName()
isSystemPlugin
public boolean isSystemPlugin()
getI18nPluginNameKey
public com.atlassian.fugue.Option<String> getI18nPluginNameKey()
isEnabledByDefault
public boolean isEnabledByDefault()
getPluginInformation
public com.atlassian.fugue.Option<org.dom4j.Element> getPluginInformation()
getPluginInformationReader
public PluginInformationReader getPluginInformationReader()
getModules
public Iterable<org.dom4j.Element> getModules(InstallationMode installationMode)
getModuleReaders
public Iterable<ModuleReader> getModuleReaders(InstallationMode installationMode)
getResources
public Resources getResources()
getPluginsVersion
public int getPluginsVersion()
Copyright © 2015 Atlassian. All rights reserved.