@Immutable public interface Releases
Modifier and Type | Interface and Description |
---|---|
static class |
Releases.Smart
Smart releases.
|
Modifier and Type | Method and 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.
|
Repo repo()
Release get(int number)
number
- Release idRelease create(String tag) throws IOException
tag
- The name of the tagIOException
- If there is any I/O problemvoid remove(int number) throws IOException
number
- ID of the release to remove.IOException
- If an IO problem occurs.Copyright © 2012–2018 jcabi.com. All rights reserved.