Package com.jcabi.github
Interface Release
-
- All Superinterfaces:
JsonPatchable,JsonReadable
- All Known Implementing Classes:
Release.Smart
@Immutable public interface Release extends JsonReadable, JsonPatchable
Github release.- Since:
- 0.8
- Version:
- $Id: 75b754f85821c61c7a6c8cd4061d778fb95f8396 $
- Author:
- Paul Polishchuk (ppol@ua.fm)
- See Also:
- Releases API
- Suppressed Checkstyle violations:
- MultipleStringLiterals (500 lines)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classRelease.SmartSmart release.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ReleaseAssetsassets()Get all release assets of this release.voiddelete()Deletes a release.intnumber()Release id.Reporepo()Owner of them.-
Methods inherited from interface com.jcabi.github.JsonPatchable
patch
-
Methods inherited from interface com.jcabi.github.JsonReadable
json
-
-
-
-
Method Detail
-
repo
Repo repo()
Owner of them.- Returns:
- Repo
-
number
int number()
Release id.- Returns:
- Id
-
delete
void delete() throws IOExceptionDeletes a release.- Throws:
IOException- If any I/O problems occur.
-
assets
ReleaseAssets assets()
Get all release assets of this release.- Returns:
- Release assets.
- See Also:
- Releases API
-
-