Interface PackageHandle
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VersionHandle
createVersion(VersionDetails versionDetails)
PackageHandle
delete()
boolean
exists()
Pkg
get()
String
getCurrentPackageUri()
String
name()
RepositoryHandle
repository()
PackageHandle
setAttributes(PackageDetails packageDetails)
PackageHandle
setAttributes(List<Attribute> attributes)
PackageHandle
update(PackageDetails packageDetails)
PackageHandle
updateAttributes(PackageDetails packageDetails)
PackageHandle
updateAttributes(List<Attribute> attributes)
VersionHandle
version(String versionName)
-
-
-
Method Detail
-
repository
RepositoryHandle repository()
-
version
VersionHandle version(String versionName)
-
get
Pkg get() throws IOException, BintrayCallException
- Specified by:
get
in interfaceHandle<Pkg>
- Throws:
IOException
BintrayCallException
-
update
PackageHandle update(PackageDetails packageDetails) throws IOException, BintrayCallException
- Throws:
IOException
BintrayCallException
-
delete
PackageHandle delete() throws BintrayCallException
- Throws:
BintrayCallException
-
exists
boolean exists() throws BintrayCallException
- Throws:
BintrayCallException
-
createVersion
VersionHandle createVersion(VersionDetails versionDetails) throws IOException, BintrayCallException
- Throws:
IOException
BintrayCallException
-
setAttributes
PackageHandle setAttributes(PackageDetails packageDetails) throws IOException, BintrayCallException
- Throws:
IOException
BintrayCallException
-
setAttributes
PackageHandle setAttributes(List<Attribute> attributes) throws IOException, BintrayCallException
- Throws:
IOException
BintrayCallException
-
updateAttributes
PackageHandle updateAttributes(PackageDetails packageDetails) throws IOException, BintrayCallException
- Throws:
IOException
BintrayCallException
-
updateAttributes
PackageHandle updateAttributes(List<Attribute> attributes) throws IOException, BintrayCallException
- Throws:
IOException
BintrayCallException
-
getCurrentPackageUri
String getCurrentPackageUri()
-
-