Class ProjectTemplateModuleDescriptor

java.lang.Object
com.atlassian.plugin.descriptors.AbstractModuleDescriptor<ProjectTemplateModule>
com.atlassian.jira.project.template.descriptor.ProjectTemplateModuleDescriptor
All Implemented Interfaces:
com.atlassian.plugin.ModuleDescriptor<ProjectTemplateModule>, com.atlassian.plugin.Resourced, com.atlassian.plugin.ScopeAware, com.atlassian.plugin.StateAware, com.atlassian.plugin.web.api.descriptors.ConditionalDescriptor, com.atlassian.plugin.web.descriptors.ConditionalDescriptor

public class ProjectTemplateModuleDescriptor extends com.atlassian.plugin.descriptors.AbstractModuleDescriptor<ProjectTemplateModule> implements com.atlassian.plugin.web.descriptors.ConditionalDescriptor
  • Field Summary

    Fields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor

    key, moduleClass, moduleClassName, moduleFactory, name, plugin, resources
  • Constructor Summary

    Constructors
    Constructor
    Description
    ProjectTemplateModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory, com.atlassian.webresource.api.WebResourceUrlProvider urlProvider, ResourceDescriptorFactory resourceDescriptorFactory, com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager, ConfigTemplateParser configTemplateParser)
     
    ProjectTemplateModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory, com.atlassian.webresource.api.WebResourceUrlProvider urlProvider, ResourceDescriptorFactory resourceDescriptorFactory, com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager, com.atlassian.plugin.web.descriptors.ConditionElementParser.ConditionFactory conditionFactory, ConfigTemplateParser configTemplateParser)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addResource(String path, String name)
     
    void
     
    void
     
    com.atlassian.plugin.web.Condition
     
     
     
    void
    init(@NotNull com.atlassian.plugin.Plugin plugin, @NotNull com.atlassian.plugin.module.Element element)
     

    Methods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor

    assertModuleClassImplements, checkPermissions, destroy, equals, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getModuleClassName, getName, getParams, getPlugin, getPluginKey, getRequiredPermissions, getResourceDescriptor, getResourceDescriptors, getResourceLocation, getScopeKey, hashCode, isBroken, isEnabled, isEnabledByDefault, isSystemModule, loadClass, satisfiesMinJavaVersion, setBroken, setPlugin, toString, validate

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.atlassian.plugin.ModuleDescriptor

    getDisplayName
  • Constructor Details

    • ProjectTemplateModuleDescriptor

      public ProjectTemplateModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory, com.atlassian.webresource.api.WebResourceUrlProvider urlProvider, ResourceDescriptorFactory resourceDescriptorFactory, com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager, ConfigTemplateParser configTemplateParser)
    • ProjectTemplateModuleDescriptor

      public ProjectTemplateModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory, com.atlassian.webresource.api.WebResourceUrlProvider urlProvider, ResourceDescriptorFactory resourceDescriptorFactory, com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager, com.atlassian.plugin.web.descriptors.ConditionElementParser.ConditionFactory conditionFactory, ConfigTemplateParser configTemplateParser)
  • Method Details

    • init

      public void init(@NotNull @NotNull com.atlassian.plugin.Plugin plugin, @NotNull @NotNull com.atlassian.plugin.module.Element element) throws com.atlassian.plugin.PluginParseException
      Specified by:
      init in interface com.atlassian.plugin.ModuleDescriptor<ProjectTemplateModule>
      Overrides:
      init in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<ProjectTemplateModule>
      Throws:
      com.atlassian.plugin.PluginParseException
    • enabled

      public void enabled()
      Specified by:
      enabled in interface com.atlassian.plugin.StateAware
      Overrides:
      enabled in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<ProjectTemplateModule>
    • disabled

      public void disabled()
      Specified by:
      disabled in interface com.atlassian.plugin.StateAware
      Overrides:
      disabled in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<ProjectTemplateModule>
    • getModule

      public ProjectTemplateModule getModule()
      Specified by:
      getModule in interface com.atlassian.plugin.ModuleDescriptor<ProjectTemplateModule>
      Specified by:
      getModule in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<ProjectTemplateModule>
    • getCondition

      @Nonnull public com.atlassian.plugin.web.Condition getCondition()
      Specified by:
      getCondition in interface com.atlassian.plugin.web.api.descriptors.ConditionalDescriptor
    • addResource

      public void addResource(String path, String name)
    • getProjectTemplateModuleBuilder

      protected AddProjectModuleBuilder getProjectTemplateModuleBuilder()