com.atlassian.plugin.parsers
Class PluginDescriptorReader

java.lang.Object
  extended by 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

Constructor Summary
PluginDescriptorReader(org.dom4j.Document descriptor, Set<Application> applications)
           
 
Method Summary
 org.dom4j.Document getDescriptor()
           
 com.atlassian.fugue.Option<String> getI18nPluginNameKey()
           
 Iterable<ModuleReader> getModuleReaders(InstallationMode installationMode)
           
 Iterable<org.dom4j.Element> getModules(InstallationMode installationMode)
           
 com.atlassian.fugue.Option<org.dom4j.Element> getPluginInformation()
           
 PluginInformationReader getPluginInformationReader()
           
 String getPluginKey()
           
 String getPluginName()
           
 int getPluginsVersion()
           
 Resources getResources()
           
 boolean isEnabledByDefault()
           
 boolean isSystemPlugin()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginDescriptorReader

public PluginDescriptorReader(org.dom4j.Document descriptor,
                              Set<Application> applications)
Method Detail

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.