public static class

FileAttachmentsList.FileAttachmentItem

extends Object
java.lang.Object
   ↳ com.atlassian.jira.functest.framework.navigation.issue.FileAttachmentsList.FileAttachmentItem

Class Overview

Represents a file attachment in the file attachments list on the view issue page.

Summary

Public Methods
boolean equals(Object obj)
String getAuthor()
String getDate()
long getId()
String getName()
String getSize()
List<FileAttachmentsList.ZipFileAttachmentEntry> getZipEntries()
int hashCode()
boolean isZip()
Determines whether this file attachment is a zip file.
FileAttachmentsList.FileAttachmentItem sortZipEntries(Ordering<FileAttachmentsList.ZipFileAttachmentEntry> order)
In some tests we don't care about the order of the entries.
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public boolean equals (Object obj)

public String getAuthor ()

public String getDate ()

public long getId ()

public String getName ()

public String getSize ()

public int hashCode ()

public boolean isZip ()

Determines whether this file attachment is a zip file.

Returns
  • true if this file attachment is a zip file; otherwise, false.

public FileAttachmentsList.FileAttachmentItem sortZipEntries (Ordering<FileAttachmentsList.ZipFileAttachmentEntry> order)

In some tests we don't care about the order of the entries. This method provides a way to predictively sort zip entries in this attachment item, so that we can make predictive comparisons regardless of the initial order of the entries.

Parameters
order ordering of the entries
Returns
  • this attachment item with changed state d'oh!

public String toString ()