com.atlassian.jira.issue.operations
Class LinkIssueOperation

java.lang.Object
  extended by com.atlassian.jira.plugin.issueoperation.AbstractPluggableIssueOperation
      extended by com.atlassian.jira.plugin.issueoperation.AbstractActionBackedPluggableIssueOperation
          extended by com.atlassian.jira.issue.operations.LinkIssueOperation
All Implemented Interfaces:
ActionBackedPluggableIssueOperation, PluggableIssueOperation

public class LinkIssueOperation
extends AbstractActionBackedPluggableIssueOperation


Field Summary
 
Fields inherited from class com.atlassian.jira.plugin.issueoperation.AbstractPluggableIssueOperation
descriptor
 
Constructor Summary
LinkIssueOperation(JiraAuthenticationContext authenticationContext, ApplicationProperties applicationProperties, PermissionManager permissionManager, IssueLinkTypeManager issueLinkTypeManager)
           
 
Method Summary
 String getActionURL(Issue issue)
          The url to an action (including params).
 String getHtml(Issue issue)
          Get the HTML to present on screen
 boolean showOperation(Issue issue)
          Whether or not to show this operation for the given issue.
 
Methods inherited from class com.atlassian.jira.plugin.issueoperation.AbstractActionBackedPluggableIssueOperation
getSimpleDescription
 
Methods inherited from class com.atlassian.jira.plugin.issueoperation.AbstractPluggableIssueOperation
getBullet, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.jira.plugin.issueoperation.PluggableIssueOperation
init
 

Constructor Detail

LinkIssueOperation

public LinkIssueOperation(JiraAuthenticationContext authenticationContext,
                          ApplicationProperties applicationProperties,
                          PermissionManager permissionManager,
                          IssueLinkTypeManager issueLinkTypeManager)
Method Detail

getHtml

public String getHtml(Issue issue)
Description copied from interface: PluggableIssueOperation
Get the HTML to present on screen


showOperation

public boolean showOperation(Issue issue)
Description copied from interface: PluggableIssueOperation
Whether or not to show this operation for the given issue.


getActionURL

public String getActionURL(Issue issue)
Description copied from interface: ActionBackedPluggableIssueOperation
The url to an action (including params). E.g. /secure/AssignIssue!default.jspa?id=12345

Parameters:
issue - The issue that the action will be performed on
Returns:
The URL of the action.


Copyright © 2002-2009 Atlassian. All Rights Reserved.