public class JiraRendererModuleDescriptorImpl extends AbstractJiraModuleDescriptor<JiraRendererPlugin> implements JiraRendererModuleDescriptor
Modifier and Type | Field and Description |
---|---|
static String |
TEMPLATE_NAME_CSS |
static String |
TEMPLATE_NAME_EDIT |
static String |
TEMPLATE_NAME_JS |
static String |
WEB_PANELS_LOCATION |
Constructor and Description |
---|
JiraRendererModuleDescriptorImpl(JiraAuthenticationContext authenticationContext,
ApplicationProperties applicationProperties,
com.atlassian.plugin.module.ModuleFactory moduleFactory,
ModuleWebComponent moduleWebComponent,
com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager,
IssueManager issueManager) |
Modifier and Type | Method and Description |
---|---|
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) |
void |
init(com.atlassian.plugin.Plugin plugin,
org.dom4j.Element element) |
boolean |
isCSSTemplateExists() |
boolean |
isEditTemplateExists() |
boolean |
isJavaScriptTemplateExists() |
assertResourceExists, createModule, createVelocityParams, disabled, enabled, getAuthenticationContext, getClassLoader, getDescription, getHtml, getHtml, getI18nBean, getModule, getName, getText, getText, isResourceExist, writeHtml
assertModuleClassImplements, checkPermissions, destroy, equals, getCompleteKey, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getModuleClassName, 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
getHtml, getHtml, getI18nBean, writeHtml
destroy, equals, getCompleteKey, getDescription, getDescriptionKey, getDisplayName, getI18nNameKey, getKey, getMinJavaVersion, getModule, getModuleClass, getName, getParams, getPlugin, getPluginKey, hashCode, isBroken, isEnabled, isEnabledByDefault, isSystemModule, satisfiesMinJavaVersion, setBroken
public static final String TEMPLATE_NAME_CSS
public static final String TEMPLATE_NAME_JS
public static final String TEMPLATE_NAME_EDIT
public static final String WEB_PANELS_LOCATION
public JiraRendererModuleDescriptorImpl(JiraAuthenticationContext authenticationContext, ApplicationProperties applicationProperties, com.atlassian.plugin.module.ModuleFactory moduleFactory, ModuleWebComponent moduleWebComponent, com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager, IssueManager issueManager)
public void init(com.atlassian.plugin.Plugin plugin, org.dom4j.Element element) throws com.atlassian.plugin.PluginParseException
init
in interface com.atlassian.plugin.ModuleDescriptor<JiraRendererPlugin>
init
in class AbstractJiraModuleDescriptor<JiraRendererPlugin>
com.atlassian.plugin.PluginParseException
public String getCss()
getCss
in interface JiraRendererModuleDescriptor
public String getJavaScript(String contextPath)
getJavaScript
in interface JiraRendererModuleDescriptor
public String getEditVM(String value, String issueKey, String rendererType, String fieldId, String fieldName, Map params, boolean singleLine)
getEditVM
in interface JiraRendererModuleDescriptor
public boolean isCSSTemplateExists()
isCSSTemplateExists
in interface JiraRendererModuleDescriptor
public boolean isJavaScriptTemplateExists()
isJavaScriptTemplateExists
in interface JiraRendererModuleDescriptor
public boolean isEditTemplateExists()
isEditTemplateExists
in interface JiraRendererModuleDescriptor
Copyright © 2002-2021 Atlassian. All Rights Reserved.