com.atlassian.jira.issue.attachment
Class AttachmentItem

java.lang.Object
  extended by com.atlassian.jira.issue.attachment.AttachmentItem

public class AttachmentItem
extends Object

An attachment items holds an attachment and an optional thumbnail.


Method Summary
 Attachment attachment()
           
 boolean equals(Object o)
           
 int hashCode()
           
 boolean isThumbnailAvailable()
           
 com.atlassian.core.util.thumbnail.Thumbnail thumbnail()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

attachment

public Attachment attachment()
Returns:
the attachment

thumbnail

public com.atlassian.core.util.thumbnail.Thumbnail thumbnail()
Returns:
the thumbnail, or null
See Also:
isThumbnailAvailable()

isThumbnailAvailable

public boolean isThumbnailAvailable()
Returns:
a boolean indicating whether this attachment item has a thumbnail

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2002-2014 Atlassian. All Rights Reserved.