com.atlassian.jira.issue.attachment
Class TemporaryAttachment
java.lang.Object
com.atlassian.jira.issue.attachment.TemporaryAttachment
- All Implemented Interfaces:
- Comparable<TemporaryAttachment>
@PublicApi
public class TemporaryAttachment
- extends Object
- implements Comparable<TemporaryAttachment>
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
TemporaryAttachment
public TemporaryAttachment(Long id,
Long issueId,
File tempAttachment,
String filename,
String contentType)
getId
public Long getId()
getIssueId
public Long getIssueId()
getFile
public File getFile()
getContentType
public String getContentType()
getFilename
public String getFilename()
getCreated
public Date getCreated()
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
compareTo
public int compareTo(TemporaryAttachment other)
- Specified by:
compareTo
in interface Comparable<TemporaryAttachment>
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2002-2012 Atlassian. All Rights Reserved.