com.atlassian.jira.issue.operations
Class AttachScreenshotOperation
java.lang.Object
com.atlassian.jira.plugin.issueoperation.AbstractPluggableIssueOperation
com.atlassian.jira.issue.operations.AttachScreenshotOperation
- All Implemented Interfaces:
- PluggableIssueOperation
public class AttachScreenshotOperation
- extends AbstractPluggableIssueOperation
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttachScreenshotOperation
public AttachScreenshotOperation(JiraAuthenticationContext authenticationContext,
AttachmentService attachmentService,
ApplicationProperties applicationProperties)
screenshotAttachable
public boolean screenshotAttachable()
- This is called directly from the velocity template (attachscreenshot.vm). Determines whether the screenshot
applet is enabled and the operating system allows Java applet to get the images from the clipboard.
- Returns:
- Whether the screenshots are attachable through the screenshot applet
getHtml
public String getHtml(Issue issue)
- Description copied from interface:
PluggableIssueOperation
- Get the HTML to present on screen
getAttachScreenshotParams
public String getAttachScreenshotParams()
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)
Copyright © 2002-2009 Atlassian. All Rights Reserved.