public class

JiraRendererModuleDescriptorImpl

extends AbstractJiraModuleDescriptor<T>
implements JiraRendererModuleDescriptor
java.lang.Object
   ↳ com.atlassian.plugin.descriptors.AbstractModuleDescriptor<T>
     ↳ com.atlassian.jira.plugin.AbstractJiraModuleDescriptor<T>
       ↳ com.atlassian.jira.plugin.renderer.JiraRendererModuleDescriptorImpl

Class Overview

Descriptor that defines a JiraRendererModule.

Summary

Constants
String TEMPLATE_NAME_CSS
String TEMPLATE_NAME_EDIT
String TEMPLATE_NAME_JS
[Expand]
Inherited Constants
From interface com.atlassian.jira.plugin.renderer.JiraRendererModuleDescriptor
[Expand]
Inherited Fields
From class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
Public Constructors
JiraRendererModuleDescriptorImpl(JiraAuthenticationContext authenticationContext, ApplicationProperties applicationProperties, ModuleFactory moduleFactory)
Public Methods
String getCss()
String getEditVM(String value, String issueKey, String rendererType, String fieldId, String fieldName, Map params, boolean singleLine)
This render an editable input field for the given values based on the edit template provided for the renderer.
String getJavaScript(String contextPath)
boolean isCSSTemplateExists()
boolean isEditTemplateExists()
boolean isJavaScriptTemplateExists()
[Expand]
Inherited Methods
From class com.atlassian.jira.plugin.AbstractJiraModuleDescriptor
From class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
From class java.lang.Object
From interface com.atlassian.jira.plugin.JiraResourcedModuleDescriptor
From interface com.atlassian.jira.plugin.renderer.JiraRendererModuleDescriptor
From interface com.atlassian.plugin.ModuleDescriptor
From interface com.atlassian.plugin.Resourced
From interface com.atlassian.plugin.StateAware

Constants

public static final String TEMPLATE_NAME_CSS

Constant Value: "css"

public static final String TEMPLATE_NAME_EDIT

Constant Value: "edit"

public static final String TEMPLATE_NAME_JS

Constant Value: "javascript"

Public Constructors

public JiraRendererModuleDescriptorImpl (JiraAuthenticationContext authenticationContext, ApplicationProperties applicationProperties, ModuleFactory moduleFactory)

Public Methods

public String getCss ()

public String getEditVM (String value, String issueKey, String rendererType, String fieldId, String fieldName, Map params, boolean singleLine)

This render an editable input field for the given values based on the edit template provided for the renderer.

Returns
  • the renderered html for the edit input

public String getJavaScript (String contextPath)

public boolean isCSSTemplateExists ()

public boolean isEditTemplateExists ()

public boolean isJavaScriptTemplateExists ()