Class TemporaryAttachment
java.lang.Object
com.atlassian.jira.issue.attachment.TemporaryAttachment
- All Implemented Interfaces:
Serializable,Comparable<TemporaryAttachment>
@PublicApi
public class TemporaryAttachment
extends Object
implements Comparable<TemporaryAttachment>, Serializable
Represents a temporary attachment, that is an attachment that's been uploaded to the server
but not yet attached to an issue. The issueId may be null for newly created issues!
Temporary Attachments can be sorted by created date,
- Since:
- v4.2
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(TemporaryAttachment other) booleanstatic final StringgetEntityToken(io.atlassian.fugue.Either<Issue, Project> entity) Deprecated.getFile()getId()Deprecated.static final StringgetIssueToken(Long issueId) Deprecated.inthashCode()toString()
-
Constructor Details
-
Method Details
-
getId
-
getIssueId
Deprecated. -
getFile
-
getContentType
-
getFilename
-
getCreated
-
getFormToken
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<TemporaryAttachment>
-
toString
-
getIssueToken
Deprecated. -
getEntityToken
@Deprecated public static final String getEntityToken(io.atlassian.fugue.Either<Issue, Project> entity) Deprecated.
-