| com.atlassian.jira.issue.thumbnail.ThumbnailManager |
Known Indirect Subclasses
|
@PublicApi
Clients of @PublicApi can expect
that programs compiled against a given version will remain binary compatible with later versions of the
@PublicApi as per each product's API policy as long as the client does not implement/extend
@PublicApi interfaces or classes (refer to each product's API policy for the exact
guarantee---usually binary compatibility is guaranteed at least across minor versions).
@PublicApi interfaces and classes are not designed to be implemented or extended by clients,
we may perform certain types of binary-incompatible changes to these classes and interfaces, but these will not
affect well-behaved clients that do not extend/implement these types (in general, only classes and interfaces
annotated with @PublicSpi are safe to extend/implement).
Provides key services for small-sized images representing image attachments on issues.
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| MIME_TYPE | The JIRA global thumbnail MIME type. | ||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Checks whether there is an "Abstract Window Toolkit" (AWT Toolkit) available.
| |||||||||||
Returns the Thumbnail that corresponds to an Attachment, or null if the given attachment is not an image.
| |||||||||||
Returns the Thumbnail that corresponds to an Attachment, or null if the given attachment is not an image.
| |||||||||||
Retrieves
Thumbnails for an Issue | |||||||||||
Indicates whether JIRA can generate a thumbnail for the given attachment.
| |||||||||||
Indicates whether JIRA can generate a thumbnail for the given attachment.
| |||||||||||
Get binary content of the thumbnail
| |||||||||||
Converts a Thumbnail into an ThumbnailedImage.
| |||||||||||
Checks whether there is an "Abstract Window Toolkit" (AWT Toolkit) available.
Returns the Thumbnail that corresponds to an Attachment, or null if the given attachment is not an image.
| attachment | an Attachment |
|---|
Returns the Thumbnail that corresponds to an Attachment, or null if the given attachment is not an image.
| issue | the issue for the attachment (passed in for performance reasons) |
|---|---|
| attachment | an Attachment |
Retrieves Thumbnails for an Issue
| issue | the issue to get the thumnails for. |
|---|---|
| user | the user on whose behalf the request is made. |
| Exception |
|---|
Indicates whether JIRA can generate a thumbnail for the given attachment.
| attachment | the attachment (required) |
|---|
| GenericEntityException | |
| GenericEntityException |
Indicates whether JIRA can generate a thumbnail for the given attachment. This method may
perform better than isThumbnailable(com.atlassian.jira.issue.attachment.Attachment)
because it doesn't need to look up the issue.
| issue | the issue to which the attachment relates (if null, this method will look it up) |
|---|---|
| attachment | the attachment (required) |
| GenericEntityException | |
| GenericEntityException |
Get binary content of the thumbnail
| IOException |
|---|
Converts a Thumbnail into an ThumbnailedImage. The ThumbnailedImage is an analog of the atlassian-core Thumbnail but it contains JIRA-specific methods for getting the image URL, etc.
| thumbnail | a Thumbnail, or null |
|---|