com.atlassian.jira.issue.operations
Class AttachFileOperation

java.lang.Object
  extended by com.atlassian.jira.plugin.issueoperation.AbstractPluggableIssueOperation
      extended by com.atlassian.jira.issue.operations.AttachFileOperation
All Implemented Interfaces:
PluggableIssueOperation
Direct Known Subclasses:
AttachScreenshotOperation

public class AttachFileOperation
extends AbstractPluggableIssueOperation


Field Summary
protected  ApplicationProperties applicationProperties
           
protected  AttachmentService attachmentService
           
protected  JiraAuthenticationContext authenticationContext
           
 
Fields inherited from class com.atlassian.jira.plugin.issueoperation.AbstractPluggableIssueOperation
descriptor
 
Constructor Summary
AttachFileOperation(JiraAuthenticationContext authenticationContext, AttachmentService attachmentService, ApplicationProperties applicationProperties)
           
 
Method Summary
 String getHtml(Issue issue)
          Get the HTML to present on screen
 boolean showOperation(Issue issue)
          Whether or not to show this operation for the given issue.
 
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
 

Field Detail

authenticationContext

protected final JiraAuthenticationContext authenticationContext

attachmentService

protected AttachmentService attachmentService

applicationProperties

protected ApplicationProperties applicationProperties
Constructor Detail

AttachFileOperation

public AttachFileOperation(JiraAuthenticationContext authenticationContext,
                           AttachmentService attachmentService,
                           ApplicationProperties applicationProperties)
Method Detail

getHtml

public String getHtml(Issue issue)
Description copied from interface: PluggableIssueOperation
Get the HTML to present on screen


showOperation

public boolean showOperation(Issue issue)
Description copied from interface: PluggableIssueOperation
Whether or not to show this operation for the given issue.



Copyright © 2002-2008 Atlassian. All Rights Reserved.