com.atlassian.jira.plugin.issueoperation
Class DefaultPluggableIssueOperation
java.lang.Object
com.atlassian.jira.plugin.issueoperation.DefaultPluggableIssueOperation
- All Implemented Interfaces:
- PluggableIssueOperation
- public class DefaultPluggableIssueOperation
- extends Object
- implements PluggableIssueOperation
A basic issue operation that should serve most purposes, just uses a Velocity view.
Also this is a very useful class to extend for people writing their own issue operation plugins.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultPluggableIssueOperation
public DefaultPluggableIssueOperation()
init
public void init(IssueOperationModuleDescriptor descriptor)
- Specified by:
init
in interface PluggableIssueOperation
getHtml
public String getHtml(Issue issue)
- Get the HTML for this operation. The following variable are available in the
velocity context:
- issueoperation
- This class - an instance of
DefaultPluggableIssueOperation
- issue
- This issue - an instance of
Issue
- descriptor
- This module descriptor - an instance of
IssueOperationModuleDescriptor
- Specified by:
getHtml
in interface PluggableIssueOperation
showOperation
public boolean showOperation(Issue issue)
- Description copied from interface:
PluggableIssueOperation
- Whether or not to show this operation for the given issue.
- Specified by:
showOperation
in interface PluggableIssueOperation
Copyright © 2002-2007 Atlassian. All Rights Reserved.