public class

AttachmentItems

extends Object
implements Iterable<T>
java.lang.Object
   ↳ com.atlassian.jira.issue.attachment.AttachmentItems

This class is deprecated.
Do not use, this is internal class and will be removed

Class Overview

This class represents an ordered sequence of AttachmentItem's.

Summary

Public Constructors
AttachmentItems(Iterable<AttachmentItem> items)
Public Methods
List<Attachment> attachments()
boolean equals(Object o)
int hashCode()
boolean isEmpty()
Iterator<AttachmentItem> iterator()
String toString()
[Expand]
Inherited Methods
From class java.lang.Object
From interface java.lang.Iterable

Public Constructors

public AttachmentItems (Iterable<AttachmentItem> items)

Public Methods

public List<Attachment> attachments ()

Returns
  • a List of Attachment

public boolean equals (Object o)

public int hashCode ()

public boolean isEmpty ()

Returns
  • true if this AttachmentItems does not contain any items

public Iterator<AttachmentItem> iterator ()

Returns
  • an iterator for iterating over this AttachmentItem's items

public String toString ()