com.atlassian.jira.issue.operations
Class AttachScreenshotOperation

java.lang.Object
  extended bycom.atlassian.jira.plugin.issueoperation.AbstractPluggableIssueOperation
      extended bycom.atlassian.jira.issue.operations.AttachFileOperation
          extended bycom.atlassian.jira.issue.operations.AttachScreenshotOperation
All Implemented Interfaces:
PluggableIssueOperation

public class AttachScreenshotOperation
extends AttachFileOperation


Field Summary
 
Fields inherited from class com.atlassian.jira.issue.operations.AttachFileOperation
applicationProperties, attachmentManager, authenticationContext, issueManager
 
Fields inherited from class com.atlassian.jira.plugin.issueoperation.AbstractPluggableIssueOperation
descriptor
 
Constructor Summary
AttachScreenshotOperation(JiraAuthenticationContext authenticationContext, AttachmentManager attachmentManager, IssueManager issueManager, ApplicationProperties applicationProperties)
           
 
Method Summary
 String getAttachScreenshotParams()
           
 boolean screenshotAttachable()
          This is called directly from the velocity template (attachscreenshot.vm)
 boolean showOperation(Issue issue)
          Whether or not to show this operation for the given issue.
 
Methods inherited from class com.atlassian.jira.issue.operations.AttachFileOperation
getHtml
 
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
 

Constructor Detail

AttachScreenshotOperation

public AttachScreenshotOperation(JiraAuthenticationContext authenticationContext,
                                 AttachmentManager attachmentManager,
                                 IssueManager issueManager,
                                 ApplicationProperties applicationProperties)
Method Detail

screenshotAttachable

public boolean screenshotAttachable()
This is called directly from the velocity template (attachscreenshot.vm)


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.