Package com.jcabi.github
Interface Pulls
-
@Immutable public interface Pulls
Github pull requests.- Since:
- 0.3
- Version:
- $Id: 8383aea260e4231b17b8d9ad9fe8561b344df31c $
- Author:
- Yegor Bugayenko (yegor256@gmail.com)
- See Also:
- Pull Request API
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Pull
create(String title, String head, String base)
Create new get.Pull
get(int number)
Get specific get by number.Iterable<Pull>
iterate(Map<String,String> params)
Iterate them all.Repo
repo()
Owner of them.
-
-
-
Method Detail
-
repo
Repo repo()
Owner of them.- Returns:
- Repo
-
get
Pull get(int number)
Get specific get by number.- Parameters:
number
- Pull request number- Returns:
- Pull request
- See Also:
- Get a Single Pull Request
-
create
Pull create(String title, String head, String base) throws IOException
Create new get.- Parameters:
title
- Titlehead
- Headbase
- Base- Returns:
- Issue just created
- Throws:
IOException
- If there is any I/O problem- See Also:
- Create a Pull Request
-
-