Package com.jcabi.github
Interface Releases
- All Known Implementing Classes:
Releases.Smart
@Immutable
public interface Releases
GitHub Releases.
- Since:
- 0.8
-
Nested Class Summary
Nested Classes -
Method Summary
-
Method Details
-
repo
Repo repo()Owner of them.- Returns:
- Repo
-
iterate
Iterate them all.- Returns:
- Iterator of releases
- See Also:
-
get
Get a single release.- Parameters:
number- Release id- Returns:
- Release
- See Also:
-
create
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:
-
remove
Remove a release.- Parameters:
number- ID of the release to remove.- Throws:
IOException- If an IO problem occurs.- See Also:
-