|
||||||||||
| 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.LabelService
public class LabelService
Label service class for listing Label objects in use for a given
repository.
| Field Summary |
|---|
| Fields inherited from class org.eclipse.egit.github.core.service.GitHubService |
|---|
client |
| Constructor Summary | |
|---|---|
LabelService()
Create label service |
|
LabelService(GitHubClient client)
Create label service for client |
|
| Method Summary | |
|---|---|
Label |
createLabel(String user,
String repository,
Label label)
Create label |
void |
deleteLabel(String user,
String repository,
String label)
Delete a label with the given id from the given repository |
Label |
getLabel(String user,
String repository,
String label)
Get label with given name |
List<Label> |
getLabels(String user,
String repository)
Get labels |
List<Label> |
setLabels(String user,
String repository,
String issueId,
List<Label> labels)
Set the labels for an issue |
| 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 LabelService()
public LabelService(GitHubClient client)
client - | Method Detail |
|---|
public List<Label> getLabels(String user,
String repository)
throws IOException
user - repository -
IOException
public List<Label> setLabels(String user,
String repository,
String issueId,
List<Label> labels)
throws IOException
user - repository - issueId - labels -
IOException
public Label createLabel(String user,
String repository,
Label label)
throws IOException
user - repository - label -
IOException
public Label getLabel(String user,
String repository,
String label)
throws IOException
user - repository - label -
IOException
public void deleteLabel(String user,
String repository,
String label)
throws IOException
user - repository - label -
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||