Class PluginDescriptorReader

java.lang.Object
com.atlassian.plugin.internal.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 Details

    • PluginDescriptorReader

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

    • getDescriptor

      public org.dom4j.Document getDescriptor()
    • getPluginKey

      public String getPluginKey()
    • getPluginName

      public String getPluginName()
    • isSystemPlugin

      public boolean isSystemPlugin()
    • getI18nPluginNameKey

      public Optional<String> getI18nPluginNameKey()
    • isEnabledByDefault

      public boolean isEnabledByDefault()
    • getPluginInformation

      public Optional<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()