Interface PackageHandle
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VersionHandlecreateVersion(VersionDetails versionDetails)PackageHandledelete()booleanexists()Pkgget()StringgetCurrentPackageUri()Stringname()RepositoryHandlerepository()PackageHandlesetAttributes(PackageDetails packageDetails)PackageHandlesetAttributes(List<Attribute> attributes)PackageHandleupdate(PackageDetails packageDetails)PackageHandleupdateAttributes(PackageDetails packageDetails)PackageHandleupdateAttributes(List<Attribute> attributes)VersionHandleversion(String versionName)
-
-
-
Method Detail
-
repository
RepositoryHandle repository()
-
version
VersionHandle version(String versionName)
-
get
Pkg get() throws IOException, BintrayCallException
- Specified by:
getin interfaceHandle<Pkg>- Throws:
IOExceptionBintrayCallException
-
update
PackageHandle update(PackageDetails packageDetails) throws IOException, BintrayCallException
- Throws:
IOExceptionBintrayCallException
-
delete
PackageHandle delete() throws BintrayCallException
- Throws:
BintrayCallException
-
exists
boolean exists() throws BintrayCallException- Throws:
BintrayCallException
-
createVersion
VersionHandle createVersion(VersionDetails versionDetails) throws IOException, BintrayCallException
- Throws:
IOExceptionBintrayCallException
-
setAttributes
PackageHandle setAttributes(PackageDetails packageDetails) throws IOException, BintrayCallException
- Throws:
IOExceptionBintrayCallException
-
setAttributes
PackageHandle setAttributes(List<Attribute> attributes) throws IOException, BintrayCallException
- Throws:
IOExceptionBintrayCallException
-
updateAttributes
PackageHandle updateAttributes(PackageDetails packageDetails) throws IOException, BintrayCallException
- Throws:
IOExceptionBintrayCallException
-
updateAttributes
PackageHandle updateAttributes(List<Attribute> attributes) throws IOException, BintrayCallException
- Throws:
IOExceptionBintrayCallException
-
getCurrentPackageUri
String getCurrentPackageUri()
-
-