|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.egit.github.core.service.GitHubService
org.eclipse.egit.github.core.service.DeployKeyService
public class DeployKeyService
Service for interacting with a repository's deploy keys
| Field Summary |
|---|
| Fields inherited from class org.eclipse.egit.github.core.service.GitHubService |
|---|
client |
| Constructor Summary | |
|---|---|
DeployKeyService()
Create deploy key service |
|
DeployKeyService(GitHubClient client)
Create deploy key service |
|
| Method Summary | |
|---|---|
Key |
createKey(IRepositoryIdProvider repository,
Key key)
Create deploy key to be associated with given repository |
void |
deleteKey(IRepositoryIdProvider repository,
int id)
Deploy deploy key with given id from given repository |
Key |
editKey(IRepositoryIdProvider repository,
Key key)
Edit given deploy key |
Key |
getKey(IRepositoryIdProvider repository,
int id)
Get deploy key with given id from given repository |
List<Key> |
getKeys(IRepositoryIdProvider repository)
Get all deploys keys associated with the given repository |
| Methods inherited from class org.eclipse.egit.github.core.service.GitHubService |
|---|
check, createPagedRequest, createPagedRequest, createPageIterator, createRequest, getAll, getAll, getClient, getId, verifyRepository |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DeployKeyService()
public DeployKeyService(GitHubClient client)
client - | Method Detail |
|---|
public List<Key> getKeys(IRepositoryIdProvider repository)
throws IOException
repository -
IOException
public Key getKey(IRepositoryIdProvider repository,
int id)
throws IOException
repository - id -
IOException
public Key createKey(IRepositoryIdProvider repository,
Key key)
throws IOException
repository - key -
IOException
public Key editKey(IRepositoryIdProvider repository,
Key key)
throws IOException
repository - key -
IOException
public void deleteKey(IRepositoryIdProvider repository,
int id)
throws IOException
repository - id -
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||