public class JiraApplicationMetaDataModuleDescriptor
extends com.atlassian.plugin.descriptors.AbstractModuleDescriptor<com.atlassian.application.host.plugin.PluginApplicationMetaData>
implements com.atlassian.application.host.plugin.ApplicationMetaDataModuleDescriptor
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.
Constructor and Description |
---|
JiraApplicationMetaDataModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.application.api.ApplicationKey |
getApplicationKey() |
JiraPluginApplicationMetaData |
getModule() |
void |
init(com.atlassian.plugin.Plugin plugin,
org.dom4j.Element element) |
assertModuleClassImplements, checkPermissions, destroy, disabled, enabled, equals, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getModuleClassName, getName, getParams, getPlugin, getPluginKey, getRequiredPermissions, getResourceDescriptor, getResourceDescriptors, getResourceLocation, getScopeKey, hashCode, isBroken, isEnabled, isEnabledByDefault, isSystemModule, loadClass, provideValidationRules, satisfiesMinJavaVersion, setBroken, setPlugin, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
destroy, equals, getCompleteKey, getDescription, getDescriptionKey, getDisplayName, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getName, getParams, getPlugin, getPluginKey, hashCode, isBroken, isEnabled, isEnabledByDefault, isSystemModule, satisfiesMinJavaVersion, setBroken
public JiraApplicationMetaDataModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory)
public void init(com.atlassian.plugin.Plugin plugin, org.dom4j.Element element) throws com.atlassian.plugin.PluginParseException
init
in interface com.atlassian.plugin.ModuleDescriptor<com.atlassian.application.host.plugin.PluginApplicationMetaData>
init
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<com.atlassian.application.host.plugin.PluginApplicationMetaData>
com.atlassian.plugin.PluginParseException
public JiraPluginApplicationMetaData getModule()
getModule
in interface com.atlassian.plugin.ModuleDescriptor<com.atlassian.application.host.plugin.PluginApplicationMetaData>
getModule
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<com.atlassian.application.host.plugin.PluginApplicationMetaData>
public com.atlassian.application.api.ApplicationKey getApplicationKey()
getApplicationKey
in interface com.atlassian.application.host.plugin.ApplicationMetaDataModuleDescriptor
Copyright © 2002-2019 Atlassian. All Rights Reserved.