com.atlassian.jira.issue.operations
Class AttachScreenshotOperation
java.lang.Object
com.atlassian.jira.plugin.issueoperation.AbstractPluggableIssueOperation
com.atlassian.jira.issue.operations.AttachFileOperation
com.atlassian.jira.issue.operations.AttachScreenshotOperation
- All Implemented Interfaces:
- PluggableIssueOperation
public class AttachScreenshotOperation
- extends AttachFileOperation
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
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.
- Specified by:
showOperation
in interface PluggableIssueOperation
- Overrides:
showOperation
in class AttachFileOperation
Copyright © 2002-2007 Atlassian. All Rights Reserved.