Package com.jcabi.github
Interface Releases
-
- All Known Implementing Classes:
Releases.Smart
@Immutable public interface Releases
Github Releases.- Since:
- 0.8
- Version:
- $Id: 1192877174ec10c6f55699e012450d402e8e8d76 $
- Author:
- Paul Polishchuk (ppol@ua.fm)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Releases.Smart
Smart releases.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Release
create(String tag)
Create new release.Release
get(int number)
Get a single release.Iterable<Release>
iterate()
Iterate them all.void
remove(int number)
Remove a release.Repo
repo()
Owner of them.
-
-
-
Method Detail
-
repo
Repo repo()
Owner of them.- Returns:
- Repo
-
get
Release get(int number)
Get a single release.- Parameters:
number
- Release id- Returns:
- Release
- See Also:
- Get a single release
-
create
Release create(String tag) throws IOException
Create new release.- Parameters:
tag
- The name of the tag- Returns:
- Release just created
- Throws:
IOException
- If there is any I/O problem- See Also:
- Create an Release
-
remove
void remove(int number) throws IOException
Remove a release.- Parameters:
number
- ID of the release to remove.- Throws:
IOException
- If an IO problem occurs.- See Also:
- Delete a release.
-
-