public class

IssueLinkRendererModuleDescriptorImpl

extends AbstractJiraModuleDescriptor<T>
implements IssueLinkRendererModuleDescriptor
java.lang.Object
   ↳ com.atlassian.plugin.descriptors.AbstractModuleDescriptor<T>
     ↳ com.atlassian.jira.plugin.AbstractJiraModuleDescriptor<T>
       ↳ com.atlassian.jira.plugin.issuelink.IssueLinkRendererModuleDescriptorImpl

Class Overview

Default implementation of an IssueLinkRendererModuleDescriptor.

Summary

Constants
String FINAL_VIEW_RESOURCE_NAME
String INITIAL_VIEW_RESOURCE_NAME
String XML_ELEMENT_NAME
[Expand]
Inherited Constants
From class com.atlassian.jira.plugin.AbstractJiraModuleDescriptor
[Expand]
Inherited Fields
From class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
Public Constructors
IssueLinkRendererModuleDescriptorImpl(JiraAuthenticationContext authenticationContext, ModuleFactory moduleFactory)
Public Methods
void enabled()
boolean equals(Object obj)
String getFinalHtml(RemoteIssueLink remoteIssueLink)
Returns the final HTML to place between the relationship text and the delete icon.
String getInitialHtml(RemoteIssueLink remoteIssueLink)
Returns the initial HTML to place between the relationship text and the delete icon.
boolean handlesApplicationType(String applicationType)
Returns true if the module descriptor can handle the application type.
int hashCode()
void init(Plugin plugin, Element element)
boolean isDefaultHandler()
Returns true if the module descriptor is the default handler for issue links.
Protected Methods
void provideValidationRules(ValidationPattern pattern)
[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.issuelink.IssueLinkRendererModuleDescriptor
From interface com.atlassian.plugin.ModuleDescriptor
From interface com.atlassian.plugin.Resourced
From interface com.atlassian.plugin.StateAware

Constants

public static final String FINAL_VIEW_RESOURCE_NAME

Constant Value: "final-view"

public static final String INITIAL_VIEW_RESOURCE_NAME

Constant Value: "initial-view"

public static final String XML_ELEMENT_NAME

Constant Value: "issue-link-renderer"

Public Constructors

public IssueLinkRendererModuleDescriptorImpl (JiraAuthenticationContext authenticationContext, ModuleFactory moduleFactory)

Public Methods

public void enabled ()

public boolean equals (Object obj)

public String getFinalHtml (RemoteIssueLink remoteIssueLink)

Returns the final HTML to place between the relationship text and the delete icon. Remote calls may be made to construct the final HTML.

Parameters
remoteIssueLink remote issue link
Returns
  • final HTML that goes between the relationship text and the delete icon

public String getInitialHtml (RemoteIssueLink remoteIssueLink)

Returns the initial HTML to place between the relationship text and the delete icon. No remote calls should be made to construct the initial HTML.

Parameters
remoteIssueLink remote issue link
Returns
  • initial HTML that goes between the relationship text and the delete icon

public boolean handlesApplicationType (String applicationType)

Returns true if the module descriptor can handle the application type. Only one module descriptor should be capable of handling an application type. If there are more than one modules that can handle an application type, only the first module (in loading order) will be used. If no descriptors handle an application type, then the default issue link renderer module descriptor is used (.

Parameters
applicationType application type to handle
Returns
  • true if the module descriptor can handle the application type

public int hashCode ()

public void init (Plugin plugin, Element element)

public boolean isDefaultHandler ()

Returns true if the module descriptor is the default handler for issue links.

Returns
  • true if the module descriptor is the default handler for issue links

Protected Methods

protected void provideValidationRules (ValidationPattern pattern)