public interface

EntitiesExporter

com.atlassian.jira.action.admin.export.EntitiesExporter
Known Indirect Subclasses

Summary

Public Methods
long exportEntities(OutputStream outputStream, SortedSet<String> entityNames, EntityXmlWriter entityWriter, User exportingUser)
Exports the entities in the TreeSet to the outputStream.

Public Methods

public long exportEntities (OutputStream outputStream, SortedSet<String> entityNames, EntityXmlWriter entityWriter, User exportingUser)

Exports the entities in the TreeSet to the outputStream.

Parameters
outputStream - the stream to write to
entityNames - the entities names to write out
entityWriter - an XML output helper that can write generic values to XML
exportingUser - the user performing the export operation
Returns
  • the number of individual entities written
Throws
GenericEntityException
IOException