| java.lang.Object | |
| ↳ | com.atlassian.jira.issue.attachment.FileAttachments |
Contains utility methods for dealing with attachments on the file system.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Helper method to mung an issue key to the given project key.
| |||||||||||
Returns the directory containing attachments for an issue.
| |||||||||||
Returns a file that refers to an attachment specified by the given attachment key and the attachment root directory.
| |||||||||||
This method is deprecated.
we should be using
getAttachmentFileHolder(AttachmentKey, java.io.File) once AttachmentStore is
removed.
| |||||||||||
Returns a file that refers to the default location of an attachment specified by the given attachment key
and the attachment root directory.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Helper method to mung an issue key to the given project key.
| originalProjectKey | The project key that the issue should be under. |
|---|---|
| issueKey | The issue key to mung. |
Returns the directory containing attachments for an issue.
| rootDir | The root directory of all attachments. |
|---|---|
| originalProjectKey | The project key that was used to store the attachments (i.e. the original project key) |
| issueKey | The issue key |
Returns a file that refers to an attachment specified by the given attachment key and the attachment root directory.
| attachment | The attachment key. |
|---|---|
| rootDir | The root directory of all attachments. NOT THE DIRECTORY FOR AN ISSUE'S ATTACHMENT. |
This method is deprecated.
we should be using getAttachmentFileHolder(AttachmentKey, java.io.File) once AttachmentStore is
removed.
Returns a file that refers to an attachment specified by the given attachment key and the attachment root directory.
| attachment | The attachment adapter |
|---|---|
| attachmentDir | The directory of issue's attachments. NOT THE ROOT DIRECTORY FOR ALL ATTACHMENTS. |
Returns a file that refers to the default location of an attachment specified by the given attachment key and the attachment root directory.
| attachment | The attachment key. |
|---|---|
| rootDir | The root directory of all attachments. NOT THE DIRECTORY FOR AN ISSUE'S ATTACHMENT. |

