com.atlassian.jira.plugin.renderer
Class JiraRendererModuleDescriptor
java.lang.Object
com.atlassian.plugin.descriptors.AbstractModuleDescriptor
com.atlassian.jira.plugin.JiraResourcedModuleDescriptor
com.atlassian.jira.plugin.renderer.JiraRendererModuleDescriptor
- All Implemented Interfaces:
- com.atlassian.plugin.ModuleDescriptor, com.atlassian.plugin.Resourced
public class JiraRendererModuleDescriptor
- extends JiraResourcedModuleDescriptor
Descriptor that defines a JiraRendererModule.
Fields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor |
plugin, resources, singleton |
Methods inherited from class com.atlassian.jira.plugin.JiraResourcedModuleDescriptor |
assertResourceExists, createVelocityParams, getAuthenticationContext, getDescription, getHtml, getHtml, getI18nBean, getI18nLocations, getName, getText, getText, init, isResourceExist |
Methods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor |
assertModuleClassImplements, destroy, getCompleteKey, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getParams, getPlugin, getPluginKey, getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocation, isEnabledByDefault, isSingleton, isSingletonByDefault, isSystemModule, satisfiesMinJavaVersion, setPlugin, toString |
TEMPLATE_NAME_CSS
public static final String TEMPLATE_NAME_CSS
- See Also:
- Constant Field Values
TEMPLATE_NAME_JS
public static final String TEMPLATE_NAME_JS
- See Also:
- Constant Field Values
TEMPLATE_NAME_EDIT
public static final String TEMPLATE_NAME_EDIT
- See Also:
- Constant Field Values
JiraRendererModuleDescriptor
public JiraRendererModuleDescriptor(JiraAuthenticationContext authenticationContext,
ApplicationProperties applicationProperties)
getModule
public Object getModule()
- Specified by:
getModule
in interface com.atlassian.plugin.ModuleDescriptor
- Specified by:
getModule
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
getCss
public String getCss()
getJavaScript
public String getJavaScript(String contextPath)
getEditVM
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
isCSSTemplateExists
public boolean isCSSTemplateExists()
isJavaScriptTemplateExists
public boolean isJavaScriptTemplateExists()
isEditTemplateExists
public boolean isEditTemplateExists()
Copyright © 2002-2007 Atlassian. All Rights Reserved.