Package com.jcabi.github
Interface DeployKeys
-
@Immutable public interface DeployKeys
Github deploy keys.- Since:
- 0.8
- Version:
- $Id: 1d54b545c30744dff2a44adad9eccdf9192db6bd $
- Author:
- Andres Candal ([email protected])
- See Also:
- Deploy Keys API
-
-
Method Detail
-
repo
Repo repo()
Owner of them.- Returns:
- Repo
-
iterate
Iterable<DeployKey> iterate()
Iterate them all.- Returns:
- Iterator of deploy keys
- See Also:
- List
-
get
DeployKey get(int number)
Get a single deploy key.- Parameters:
number
- Id of a deploy key- Returns:
- Deploy key
- See Also:
- Get a deploy key
-
create
DeployKey create(String title, String key) throws IOException
Create a deploy key.- Parameters:
title
- Titlekey
- Key- Returns:
- A new deploy key
- Throws:
IOException
- If there is any I/O problem- See Also:
- Add a new deploy key
-
-