Interface ThumbnailedImage
@PublicApi
public interface ThumbnailedImage
JIRA-specific thunbnailed image interface. A
ThumbnailedImage contains methods for getting its URL, etc.- Since:
- v5.2
- See Also:
-
Method Summary
-
Method Details
-
getFilename
String getFilename()- Returns:
- the name of the image file
- Since:
- v5.2
-
getHeight
int getHeight()- Returns:
- the height of the image, in pixels
- Since:
- v5.2
-
getWidth
int getWidth()- Returns:
- the width of the image, in pixels
- Since:
- v5.2
-
getAttachmentId
long getAttachmentId()- Returns:
- the id of the attachment
- Since:
- v5.2
-
getMimeType
String getMimeType()- Returns:
- the MIME type of the image
- Since:
- v5.2
-
getImageURL
String getImageURL()- Returns:
- the URL for this thumbnail image. If running in the context of a web request, this will return a url relative to the server root (ie "/jira/"). If running via email, it will return an absolute URL (eg. "http://example.com/jira/").
-