|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Upload
Holds the configuration of the upload.
| Method Summary | |
|---|---|
UploadInfo |
execute()
Uploads new version of an application. |
Upload |
setApplicationId(String applicationId)
Overrides the application id. |
Upload |
setBaseArchive(File file)
Set the file on which the diff will be based. |
Upload |
setBaseVersionId(String versionId)
Set the version on which the diff will be based. |
Upload |
setFull(boolean full)
Enables full upload, otherwise if base version or base archive is set, only differencies will be uploaded |
Upload |
setVersionId(String versionId)
Override the version id. |
| Method Detail |
|---|
Upload setApplicationId(String applicationId)
applicationId - application identificator
Upload setVersionId(String versionId)
versionId - version identificator
Upload setBaseArchive(File file)
file - file on which this diff is based
Upload setBaseVersionId(String versionId)
versionId - version on which this diff is based
Upload setFull(boolean full)
full - send full archive
UploadInfo execute()
throws DuplicationException,
IOException
DuplicationException - if the given version already exists on the
server
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||