|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.cloudfoundry.client.lib.domain.UploadApplicationPayload
public class UploadApplicationPayload
A payload used to upload application data. The payload data is built from a source ApplicationArchive
,
excluding any entries that are already known to the remote server.
Constructor Summary | |
---|---|
UploadApplicationPayload(ApplicationArchive archive,
CloudResources knownRemoteResources)
Create a new UploadApplicationPayload . |
Method Summary | |
---|---|
ApplicationArchive |
getArchive()
Returns the source archive. |
InputStream |
getInputStream()
Returns the payload data as an input stream. |
int |
getNumEntries()
|
int |
getTotalUncompressedSize()
Returns the total size of the entries to be transfered (before compression). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UploadApplicationPayload(ApplicationArchive archive, CloudResources knownRemoteResources) throws IOException
UploadApplicationPayload
.
archive
- the source archiveknownRemoteResources
- resources that are already known on the remote server
IOException
Method Detail |
---|
public ApplicationArchive getArchive()
public int getTotalUncompressedSize()
public int getNumEntries()
public InputStream getInputStream()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |