public interface VersionedAttachmentsList
This class is responsible for determining what attachments represent a different version of the same file, and offering clients methods to query version information for attachments.
Modifier and Type | Method and Description |
---|---|
List<Attachment> |
asList()
Returns the underlying list of attachments.
|
boolean |
isLatestVersion(Attachment attachment)
Determines whether the specified attachment represents the latest version of the corresponding file.
|
List<Attachment> asList()
List
of Attachment
.boolean isLatestVersion(Attachment attachment)
attachment
- The attachment in play.Copyright © 2002-2017 Atlassian. All Rights Reserved.