Package com.jcabi.github
Class Releases.Smart
java.lang.Object
com.jcabi.github.Releases.Smart
- All Implemented Interfaces:
Releases
- Enclosing interface:
- Releases
Smart releases.
- Since:
- 0.17
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.jcabi.github.Releases
Releases.Smart -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Smart
Public CTOR.- Parameters:
original- Original releases
-
-
Method Details
-
repo
Description copied from interface:ReleasesOwner of them. -
iterate
Description copied from interface:ReleasesIterate them all. -
get
Description copied from interface:ReleasesGet a single release. -
create
Description copied from interface:ReleasesCreate new release.- Specified by:
createin interfaceReleases- Parameters:
tag- The name of the tag- Returns:
- Release just created
- Throws:
IOException- If there is any I/O problem- See Also:
-
remove
Description copied from interface:ReleasesRemove a release.- Specified by:
removein interfaceReleases- Parameters:
number- ID of the release to remove.- Throws:
IOException- If an IO problem occurs.- See Also:
-
exists
This release exists by the tag.- Parameters:
tag- The tag- Returns:
- TRUE if it already exists
- Throws:
IOException- If fails
-
find
Find release by the tag (runtime exception if not found).- Parameters:
tag- The tag- Returns:
- Release found
- Throws:
IOException- If fails
-