Interface VersionHandle
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VersionHandledelete()VersionHandlediscard()booleanexists()Versionget()StringgetVersionUri()PackageHandlepkg()VersionHandlepublish()VersionHandlesetAttributes(VersionDetails versionDetails)VersionHandlesetAttributes(List<Attribute> attributes)VersionHandlesign(int fileCount)VersionHandlesign(String passphrase, int fileCount)VersionHandleupdate(VersionDetails versionDetails)VersionHandleupdateAttributes(VersionDetails versionDetails)VersionHandleupdateAttributes(List<Attribute> attributes)VersionHandleupload(String path, InputStream content)VersionHandleupload(Map<String,InputStream> content)
-
-
-
Method Detail
-
pkg
PackageHandle pkg()
-
get
Version get() throws IOException, BintrayCallException
- Specified by:
getin interfaceHandle<Version>- Throws:
IOExceptionBintrayCallException
-
update
VersionHandle update(VersionDetails versionDetails) throws IOException, BintrayCallException
- Throws:
IOExceptionBintrayCallException
-
delete
VersionHandle delete() throws BintrayCallException
- Throws:
BintrayCallException
-
exists
boolean exists() throws BintrayCallException- Throws:
BintrayCallException
-
setAttributes
VersionHandle setAttributes(VersionDetails versionDetails) throws IOException, BintrayCallException
- Throws:
IOExceptionBintrayCallException
-
setAttributes
VersionHandle setAttributes(List<Attribute> attributes) throws IOException, BintrayCallException
- Throws:
IOExceptionBintrayCallException
-
updateAttributes
VersionHandle updateAttributes(VersionDetails versionDetails) throws IOException, BintrayCallException
- Throws:
IOExceptionBintrayCallException
-
updateAttributes
VersionHandle updateAttributes(List<Attribute> attributes) throws IOException, BintrayCallException
- Throws:
IOExceptionBintrayCallException
-
upload
VersionHandle upload(Map<String,InputStream> content) throws MultipleBintrayCallException
- Throws:
MultipleBintrayCallException
-
upload
VersionHandle upload(String path, InputStream content) throws BintrayCallException
- Throws:
BintrayCallException
-
publish
VersionHandle publish() throws BintrayCallException
- Throws:
BintrayCallException
-
discard
VersionHandle discard() throws BintrayCallException
- Throws:
BintrayCallException
-
sign
VersionHandle sign(String passphrase, int fileCount) throws BintrayCallException
- Throws:
BintrayCallException
-
sign
VersionHandle sign(int fileCount) throws BintrayCallException
- Throws:
BintrayCallException
-
getVersionUri
String getVersionUri()
-
-