public class IssueLinkRendererModuleDescriptorImpl extends AbstractJiraModuleDescriptor<IssueLinkRenderer> implements IssueLinkRendererModuleDescriptor
IssueLinkRendererModuleDescriptor
.Modifier and Type | Field and Description |
---|---|
static String |
FINAL_VIEW_RESOURCE_NAME |
static String |
INITIAL_VIEW_RESOURCE_NAME |
static String |
XML_ELEMENT_NAME |
Constructor and Description |
---|
IssueLinkRendererModuleDescriptorImpl(JiraAuthenticationContext authenticationContext,
com.atlassian.plugin.module.ModuleFactory moduleFactory) |
Modifier and Type | Method and Description |
---|---|
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(com.atlassian.plugin.Plugin plugin,
org.dom4j.Element element) |
boolean |
isDefaultHandler()
Returns true if the module descriptor is the default handler for issue links.
|
protected void |
provideValidationRules(com.atlassian.plugin.util.validation.ValidationPattern pattern) |
assertResourceExists, createModule, createVelocityParams, disabled, getAuthenticationContext, getClassLoader, getDescription, getHtml, getHtml, getI18nBean, getModule, getName, getText, getText, isResourceExist, writeHtml
assertModuleClassImplements, checkPermissions, destroy, getCompleteKey, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getModuleClassName, getParams, getPlugin, getPluginKey, getRequiredPermissions, getResourceDescriptor, getResourceDescriptors, getResourceLocation, getScopeKey, isBroken, isEnabled, isEnabledByDefault, isSystemModule, loadClass, satisfiesMinJavaVersion, setBroken, setPlugin, toString, validate
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getHtml, getHtml, getI18nBean, writeHtml
destroy, getCompleteKey, getDescription, getDescriptionKey, getDisplayName, getI18nNameKey, getKey, getMinJavaVersion, getModule, getModuleClass, getName, getParams, getPlugin, getPluginKey, init, isBroken, isEnabled, isEnabledByDefault, isSystemModule, satisfiesMinJavaVersion, setBroken
public static final String XML_ELEMENT_NAME
public static final String INITIAL_VIEW_RESOURCE_NAME
public static final String FINAL_VIEW_RESOURCE_NAME
public IssueLinkRendererModuleDescriptorImpl(JiraAuthenticationContext authenticationContext, com.atlassian.plugin.module.ModuleFactory moduleFactory)
public void init(com.atlassian.plugin.Plugin plugin, org.dom4j.Element element) throws com.atlassian.plugin.PluginParseException
init
in interface com.atlassian.plugin.ModuleDescriptor<IssueLinkRenderer>
init
in class AbstractJiraModuleDescriptor<IssueLinkRenderer>
com.atlassian.plugin.PluginParseException
public void enabled()
enabled
in interface com.atlassian.plugin.StateAware
enabled
in class AbstractJiraModuleDescriptor<IssueLinkRenderer>
protected void provideValidationRules(com.atlassian.plugin.util.validation.ValidationPattern pattern)
provideValidationRules
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<IssueLinkRenderer>
public boolean isDefaultHandler()
IssueLinkRendererModuleDescriptor
isDefaultHandler
in interface IssueLinkRendererModuleDescriptor
public boolean handlesApplicationType(String applicationType)
IssueLinkRendererModuleDescriptor
IssueLinkRendererModuleDescriptor.isDefaultHandler()
.handlesApplicationType
in interface IssueLinkRendererModuleDescriptor
applicationType
- application type to handlepublic String getInitialHtml(RemoteIssueLink remoteIssueLink)
IssueLinkRendererModuleDescriptor
getInitialHtml
in interface IssueLinkRendererModuleDescriptor
remoteIssueLink
- remote issue linkpublic String getFinalHtml(RemoteIssueLink remoteIssueLink)
IssueLinkRendererModuleDescriptor
getFinalHtml
in interface IssueLinkRendererModuleDescriptor
remoteIssueLink
- remote issue linkpublic boolean equals(Object obj)
equals
in interface com.atlassian.plugin.ModuleDescriptor<IssueLinkRenderer>
equals
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<IssueLinkRenderer>
public int hashCode()
hashCode
in interface com.atlassian.plugin.ModuleDescriptor<IssueLinkRenderer>
hashCode
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<IssueLinkRenderer>
Copyright © 2002-2024 Atlassian. All Rights Reserved.