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 class
Release.Smart
Smart release.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ReleaseAssets
assets()
Get all release assets of this release.void
delete()
Deletes a release.int
number()
Release id.Repo
repo()
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 IOException
Deletes 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
-
-