public class AttachmentsCategoriser extends Object
This is useful because of the different way in which these two types of attachments are displayed on the view issue page. Note that an attachment may be "thumbnailable" but not have a thumbnail in practice, i.e. because there was an error creating the thumbnail. This class cares not about theoretical thumbnailability, but only about actual presence/absence of a thumbnail.
Modifier and Type | Class and Description |
---|---|
class |
AttachmentsCategoriser.AttachmentItemCreator
Deprecated.
|
static interface |
AttachmentsCategoriser.Source
Deprecated.
|
Constructor and Description |
---|
AttachmentsCategoriser(ThumbnailManager thumbnailManager,
AttachmentsCategoriser.Source attachmentsSource)
Deprecated.
Creates a new AttachmentsCategoriser
|
Modifier and Type | Method and Description |
---|---|
AttachmentItems |
items()
Deprecated.
|
AttachmentItems |
itemsThatDoNotHaveThumbs()
Deprecated.
|
AttachmentItems |
itemsThatHaveThumbs()
Deprecated.
|
public AttachmentsCategoriser(ThumbnailManager thumbnailManager, AttachmentsCategoriser.Source attachmentsSource)
thumbnailManager
- a ThumbnailManagerattachmentsSource
- the Source used to get Attachments frompublic AttachmentItems items()
public AttachmentItems itemsThatHaveThumbs()
public AttachmentItems itemsThatDoNotHaveThumbs()
Copyright © 2002-2019 Atlassian. All Rights Reserved.