Interface VersionHandle
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VersionHandle
delete()
VersionHandle
discard()
boolean
exists()
Version
get()
String
getVersionUri()
PackageHandle
pkg()
VersionHandle
publish()
VersionHandle
setAttributes(VersionDetails versionDetails)
VersionHandle
setAttributes(List<Attribute> attributes)
VersionHandle
sign(int fileCount)
VersionHandle
sign(String passphrase, int fileCount)
VersionHandle
update(VersionDetails versionDetails)
VersionHandle
updateAttributes(VersionDetails versionDetails)
VersionHandle
updateAttributes(List<Attribute> attributes)
VersionHandle
upload(String path, InputStream content)
VersionHandle
upload(Map<String,InputStream> content)
-
-
-
Method Detail
-
pkg
PackageHandle pkg()
-
get
Version get() throws IOException, BintrayCallException
- Specified by:
get
in interfaceHandle<Version>
- Throws:
IOException
BintrayCallException
-
update
VersionHandle update(VersionDetails versionDetails) throws IOException, BintrayCallException
- Throws:
IOException
BintrayCallException
-
delete
VersionHandle delete() throws BintrayCallException
- Throws:
BintrayCallException
-
exists
boolean exists() throws BintrayCallException
- Throws:
BintrayCallException
-
setAttributes
VersionHandle setAttributes(VersionDetails versionDetails) throws IOException, BintrayCallException
- Throws:
IOException
BintrayCallException
-
setAttributes
VersionHandle setAttributes(List<Attribute> attributes) throws IOException, BintrayCallException
- Throws:
IOException
BintrayCallException
-
updateAttributes
VersionHandle updateAttributes(VersionDetails versionDetails) throws IOException, BintrayCallException
- Throws:
IOException
BintrayCallException
-
updateAttributes
VersionHandle updateAttributes(List<Attribute> attributes) throws IOException, BintrayCallException
- Throws:
IOException
BintrayCallException
-
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()
-
-