Package com.jcabi.github
Interface DeployKeys
-
@Immutable public interface DeployKeys
Github deploy keys.- Since:
- 0.8
- Version:
- $Id: 03acbc0679374fd8546cf1a60b31c89f5d441947 $
- Author:
- Andres Candal (andres.candal@rollasolution.com)
- 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
-
-