public class

JiraApplicationMetaDataModuleDescriptor

extends AbstractModuleDescriptor<T>
implements ApplicationMetaDataModuleDescriptor
java.lang.Object
   ↳ com.atlassian.plugin.descriptors.AbstractModuleDescriptor<T>
     ↳ com.atlassian.jira.application.JiraApplicationMetaDataModuleDescriptor

Class Overview

Parses application XML tags and returns JiraPluginApplicationMetaData. The XML for a JIRA application is the same as any other regular application, except that the definition of project types is allowed:

 <application key="completeModule" name="ModuleDescriptorName">
      <applicationKey>com.atlassian.jira.platform</applicationKey>
      <applicationName>Test Product</applicationName>
      <applicationDescriptionKey>some.key</applicationDescriptionKey>
      <configURI>/configureMe</configURI>
      <postInstallURI>/postInstall</postInstallURI>
      <postUpdateURI>/postUpdate/actions.do</postUpdateURI>
      <userCountKey>other.key</userCountKey>
      <applicationPlugins>
          <plugin>one</plugin>
          <plugin>two</plugin>
          <plugin>three</plugin>
      </applicationPlugins>
      <utilityPlugins>
          <plugin>two</plugin>
          <plugin>three</plugin>
          <plugin>four</plugin>
      </utilityPlugins>
      <defaultGroup>jira-testers</defaultGroup>
      <projectTypes>
          <projectType>
              <key>type1</key>
              <descriptionI18nKey>projects.of.first.type</descriptionI18nKey>
              <icon>PD94bWwgdmVyc2l (base64 encoded svg)</icon>
              <color>#FFFFFF</color>
          </projectType>
          <projectType>
              <key>type2</key>
              <descriptionKey>projects.of.second.type</descriptionKey>
              <icon>PD94bWwgdmVyc2l (base64 encoded svg)</icon>
              <color>#FFFFFF</color>
          </projectType>
      <projectTypes/>
  </application>
 
 

The applicationKey, applicationName and applicationDescriptionKey attributes are required. All other attributes are optional.

Summary

[Expand]
Inherited Fields
From class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
Public Constructors
JiraApplicationMetaDataModuleDescriptor(ModuleFactory moduleFactory)
Public Methods
ApplicationKey getApplicationKey()
JiraPluginApplicationMetaData getModule()
void init(Plugin plugin, Element element)
[Expand]
Inherited Methods
From class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
From class java.lang.Object
From interface com.atlassian.application.host.plugin.ApplicationMetaDataModuleDescriptor
From interface com.atlassian.plugin.ModuleDescriptor
From interface com.atlassian.plugin.Resourced
From interface com.atlassian.plugin.StateAware

Public Constructors

public JiraApplicationMetaDataModuleDescriptor (ModuleFactory moduleFactory)

Public Methods

public ApplicationKey getApplicationKey ()

public JiraPluginApplicationMetaData getModule ()

public void init (Plugin plugin, Element element)