public class FileNameBasedVersionedAttachmentsList extends Object implements VersionedAttachmentsList
Mapwith keys for every distinct file name in the underlying
Listof attachments. Then, each key's value is a
TreeSetof attachments which have that filename.
|Constructor and Description|
|Modifier and Type||Method and Description|
Returns the underlying list of attachments.
Determines whether the specified attachment is the latest file uploaded amongst the group of files with the same name in the underlying list.
public List<Attachment> asList()
public boolean isLatestVersion(Attachment attachment)
Copyright © 2002-2015 Atlassian. All Rights Reserved.