|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.plugin.descriptors.AbstractModuleDescriptor<T> com.atlassian.jira.plugin.AbstractJiraModuleDescriptor<IssueLinkRenderer> com.atlassian.jira.plugin.issuelink.IssueLinkRendererModuleDescriptorImpl
public class IssueLinkRendererModuleDescriptorImpl
Default implementation of an IssueLinkRendererModuleDescriptor
.
Field Summary | |
---|---|
static String |
FINAL_VIEW_RESOURCE_NAME
|
static String |
INITIAL_VIEW_RESOURCE_NAME
|
static String |
XML_ELEMENT_NAME
|
Fields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor |
---|
key, moduleClass, moduleClassName, moduleFactory, name, plugin, resources, singleton |
Constructor Summary | |
---|---|
IssueLinkRendererModuleDescriptorImpl(JiraAuthenticationContext authenticationContext,
com.atlassian.plugin.module.ModuleFactory moduleFactory)
|
Method Summary | |
---|---|
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)
|
Methods inherited from class com.atlassian.jira.plugin.AbstractJiraModuleDescriptor |
---|
assertResourceExists, createModule, createVelocityParams, disabled, getAuthenticationContext, getClassLoader, getDescription, getHtml, getHtml, getI18nBean, getModule, getName, getText, getText, isResourceExist, writeHtml |
Methods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor |
---|
assertModuleClassImplements, checkPermissions, destroy, destroy, getCompleteKey, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getModuleClassName, getParams, getPlugin, getPluginKey, getRequiredPermissions, getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocation, isEnabledByDefault, isSingleton, isSingletonByDefault, isSystemModule, loadClass, loadClass, satisfiesMinJavaVersion, setPlugin, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.atlassian.jira.plugin.JiraResourcedModuleDescriptor |
---|
getHtml, getHtml, getI18nBean, writeHtml |
Methods inherited from interface com.atlassian.plugin.ModuleDescriptor |
---|
destroy, destroy, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModule, getModuleClass, getName, getParams, getPlugin, getPluginKey, isEnabledByDefault, isSystemModule, satisfiesMinJavaVersion |
Methods inherited from interface com.atlassian.plugin.Resourced |
---|
getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocation |
Field Detail |
---|
public static final String XML_ELEMENT_NAME
public static final String INITIAL_VIEW_RESOURCE_NAME
public static final String FINAL_VIEW_RESOURCE_NAME
Constructor Detail |
---|
public IssueLinkRendererModuleDescriptorImpl(JiraAuthenticationContext authenticationContext, com.atlassian.plugin.module.ModuleFactory moduleFactory)
Method Detail |
---|
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 handle
public String getInitialHtml(RemoteIssueLink remoteIssueLink)
IssueLinkRendererModuleDescriptor
getInitialHtml
in interface IssueLinkRendererModuleDescriptor
remoteIssueLink
- remote issue link
public String getFinalHtml(RemoteIssueLink remoteIssueLink)
IssueLinkRendererModuleDescriptor
getFinalHtml
in interface IssueLinkRendererModuleDescriptor
remoteIssueLink
- remote issue link
public 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>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |