org.cloudfoundry.client.lib.archive
Interface ApplicationArchive

All Known Implementing Classes:
DirectoryApplicationArchive, ZipApplicationArchive

public interface ApplicationArchive

Interface that represents an application archive (for example a WAR file) that can be uploaded to Cloud Foundry. Archives consist of a filename and one or more entries.

Author:
Phillip Webb

Nested Class Summary
static interface ApplicationArchive.Entry
          A single entry contained within an ApplicationArchive.
 
Method Summary
 Iterable<ApplicationArchive.Entry> getEntries()
          Returns entries that the archive contains.
 String getFilename()
          Returns the filename of the archive (excluding any path).
 

Method Detail

getFilename

String getFilename()
Returns the filename of the archive (excluding any path).

Returns:
the filename (for example myproject.war)

getEntries

Iterable<ApplicationArchive.Entry> getEntries()
Returns entries that the archive contains.

Returns:
a collection of entries.


Copyright © 2014. All rights reserved.