com.atlassian.jira.issue.operations
Class IssueToSubTaskOperation

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.IssueToSubTaskOperation
All Implemented Interfaces:
ActionBackedPluggableIssueOperation, PluggableIssueOperation

public class IssueToSubTaskOperation
extends AbstractActionBackedPluggableIssueOperation

Issue to sub-task conversion issue operation.


Field Summary
 
Fields inherited from class com.atlassian.jira.plugin.issueoperation.AbstractPluggableIssueOperation
descriptor
 
Constructor Summary
IssueToSubTaskOperation(JiraAuthenticationContext authenticationContext, IssueToSubTaskConversionService conversionService)
           
 
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

IssueToSubTaskOperation

public IssueToSubTaskOperation(JiraAuthenticationContext authenticationContext,
                               IssueToSubTaskConversionService conversionService)
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.