Class AttachmentArchiveImpl
java.lang.Object
com.atlassian.jira.plugin.attachment.AttachmentArchiveImpl
- All Implemented Interfaces:
AttachmentArchive
-
Constructor Summary
ConstructorsConstructorDescriptionAttachmentArchiveImpl(List<AttachmentArchiveEntry> entries, int totalEntryCount) -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic AttachmentArchivefromJSONArrayQuiet(String jsonArrayString, int maxSize) intintinthashCode()booleanstatic Iterable<JSONObject> serialize(List<AttachmentArchiveEntry> entries) toString()
-
Constructor Details
-
AttachmentArchiveImpl
-
-
Method Details
-
serialize
-
fromJSONArrayQuiet
-
getEntries
- Specified by:
getEntriesin interfaceAttachmentArchive- Returns:
- the list of
AttachmentArchiveEntry
-
isMoreAvailable
public boolean isMoreAvailable()- Specified by:
isMoreAvailablein interfaceAttachmentArchive- Returns:
- true if there are more entries available in the zip than asked for.
-
getTotalNumberOfEntriesAvailable
public int getTotalNumberOfEntriesAvailable()- Specified by:
getTotalNumberOfEntriesAvailablein interfaceAttachmentArchive- Returns:
- total number of entries available (can be larger that what was asked for)
-
getTotalEntryCount
public int getTotalEntryCount()- Specified by:
getTotalEntryCountin interfaceAttachmentArchive- Returns:
- total number of entries available (can be larger that what was asked for)
-
hashCode
public int hashCode() -
equals
-
toString
-