java.lang.Object | |
↳ | com.atlassian.jira.issue.thumbnail.DisabledThumbNailManager |
[Expand]
Inherited Fields | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.atlassian.jira.issue.thumbnail.ThumbnailManager
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Checks whether there is an "Abstract Window Toolkit" (AWT Toolkit) available.
| |||||||||||
Deletes the generated thumbnail for an attachment, if exists.
| |||||||||||
Deletes the generated thumbnails for the attachments of an issue.
| |||||||||||
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.
|
[Expand]
Inherited Methods | |||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object | |||||||||||||||||||||||||||||||
From interface
com.atlassian.jira.issue.thumbnail.ThumbnailManager
|
Checks whether there is an "Abstract Window Toolkit" (AWT Toolkit) available.
Deletes the generated thumbnail for an attachment, if exists.
issue | the issue for the attachment (passed in for performance reasons) |
---|---|
attachment | an Attachment |
Deletes the generated thumbnails for the attachments of an issue.
issue | the issue whose attachments' thumbnails will be deleted. |
---|
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 |
Returns the Thumbnail that corresponds to an Attachment, or null if the given attachment is not an image.
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. 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) |
DataAccessException |
---|
Indicates whether JIRA can generate a thumbnail for the given attachment.
attachment | the attachment (required) |
---|
DataAccessException |
---|
Get binary content of the thumbnail
attachment | an Attachment |
---|---|
consumer | function that consumes the thumbnail data. |
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 |
---|