com.atlassian.jira.plugin.issueoperation
Interface ActionBackedPluggableIssueOperation

All Superinterfaces:
PluggableIssueOperation
All Known Implementing Classes:
AbstractActionBackedPluggableIssueOperation

public interface ActionBackedPluggableIssueOperation
extends PluggableIssueOperation

An operation that defines an action URL and Simple description in order to provide a list of "Actions" that can be done on an issue.

Since:
v4.0

Method Summary
 java.lang.String getActionURL(Issue issue)
          The url to an action (including params).
 java.lang.String getSimpleDescription(Issue issue)
          A simple descrition of the action to perform.
 
Methods inherited from interface com.atlassian.jira.plugin.issueoperation.PluggableIssueOperation
getHtml, init, showOperation
 

Method Detail

getActionURL

java.lang.String getActionURL(Issue issue)
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.

getSimpleDescription

java.lang.String getSimpleDescription(Issue issue)
A simple descrition of the action to perform. This should contain only text, no HTML. E.g. "Assign this issue"

Parameters:
issue - The issue that the action will be performed on
Returns:
A simple description of the action


Copyright © 2002-2010 Atlassian. All Rights Reserved.