Creates a new RetrieveResultPackage instance from a RetrieveResult object.
The retrieve result object.
If true the retrieve result is expected to contain only one package.
Optional
archive: __moduleOptional zip archive to use instead of the one in the retrieve result.
Private
archivesPrivate
filesPrivate
Readonly
resultThe retrieve result object.
Private
Readonly
singleIf true the retrieve result is expected to contain only one package.
Returns the number of files in the retrieve result package excluding -meta.xml
files.
Returns true if the retrieve was successful and an archive with the retriebe result is available.
Get all components in the retrieve result package that are not package.xml files
A list of all components in the retrieve result package
Private
filePrivate
filterGets all files in the retrieve result package.
A list of all files in the retrieve result package.
Gets the package manifest of the retrieve result package as a PackageManifest object parsed from the package.xml file.
The package manifest of the retrieve result.
Merge another retrieve result package into this one.
Other retrieve result package to merge into this one.
A reference to this retrieve result package.
Private
stream
Wraps around a RetrieveResult Object and allows easy iteration over the files contained in it.