com.atlassian.greenhopper.plugin.projecttemplate
Class GhStubProjectTemplateModuleDescriptor

java.lang.Object
  extended by com.atlassian.plugin.descriptors.AbstractModuleDescriptor<T>
      extended by com.atlassian.jira.plugin.AbstractJiraModuleDescriptor<java.lang.Void>
          extended by com.atlassian.greenhopper.plugin.projecttemplate.GhStubProjectTemplateModuleDescriptor
All Implemented Interfaces:
com.atlassian.jira.plugin.JiraResourcedModuleDescriptor<java.lang.Void>, com.atlassian.plugin.ModuleDescriptor<java.lang.Void>, com.atlassian.plugin.Resourced, com.atlassian.plugin.StateAware

public class GhStubProjectTemplateModuleDescriptor
extends com.atlassian.jira.plugin.AbstractJiraModuleDescriptor<java.lang.Void>

Stub module descriptor to keep our "project-template" module type happy in JIRA instances which do not have the Project Templates plugin installed. This means that when GreenHopper is installed, UPM will not complain that modules were not loaded.

Since:
v6.2

Field Summary
 
Fields inherited from class com.atlassian.jira.plugin.AbstractJiraModuleDescriptor
RESOURCE_TYPE_I18N
 
Fields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
moduleClass, moduleClassName, plugin, resources, singleton
 
Constructor Summary
protected GhStubProjectTemplateModuleDescriptor(com.atlassian.jira.security.JiraAuthenticationContext authenticationContext, com.atlassian.plugin.module.ModuleFactory moduleFactory)
           
 
Method Summary
 void init(com.atlassian.plugin.Plugin plugin, org.dom4j.Element element)
           
 
Methods inherited from class com.atlassian.jira.plugin.AbstractJiraModuleDescriptor
assertResourceExists, createModule, createVelocityParams, disabled, enabled, getAuthenticationContext, getClassLoader, getDescription, getHtml, getHtml, getI18nBean, getModule, getName, getText, getText, isResourceExist
 
Methods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
assertModuleClassImplements, destroy, equals, getCompleteKey, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getParams, getPlugin, getPluginKey, getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocation, hashCode, isEnabledByDefault, isSingleton, isSingletonByDefault, isSystemModule, loadClass, loadClass, provideValidationRules, satisfiesMinJavaVersion, setPlugin, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.atlassian.plugin.ModuleDescriptor
destroy, equals, getCompleteKey, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getParams, getPlugin, getPluginKey, hashCode, isEnabledByDefault, isSystemModule, satisfiesMinJavaVersion
 
Methods inherited from interface com.atlassian.plugin.Resourced
getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocation
 

Constructor Detail

GhStubProjectTemplateModuleDescriptor

protected GhStubProjectTemplateModuleDescriptor(com.atlassian.jira.security.JiraAuthenticationContext authenticationContext,
                                                com.atlassian.plugin.module.ModuleFactory moduleFactory)
Method Detail

init

public void init(com.atlassian.plugin.Plugin plugin,
                 org.dom4j.Element element)
          throws com.atlassian.plugin.PluginParseException
Specified by:
init in interface com.atlassian.plugin.ModuleDescriptor<java.lang.Void>
Overrides:
init in class com.atlassian.jira.plugin.AbstractJiraModuleDescriptor<java.lang.Void>
Throws:
com.atlassian.plugin.PluginParseException


Copyright © 2007-2013 Atlassian. All Rights Reserved.