|
||||||||||
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 |
---|
ACCEPT_FULL, ACCEPT_HTML, ACCEPT_TEXT, client |
Constructor Summary | |
---|---|
LabelService()
Create label service |
|
LabelService(GitHubClient client)
Create label service for client |
Method Summary | |
---|---|
Label |
createLabel(IRepositoryIdProvider repository,
Label label)
Create label |
Label |
createLabel(String user,
String repository,
Label label)
Create label |
void |
deleteLabel(IRepositoryIdProvider repository,
String label)
Delete a label with the given id from the given repository |
void |
deleteLabel(String user,
String repository,
String label)
Delete a label with the given id from the given repository |
Label |
editLabel(IRepositoryIdProvider repository,
Label label)
Edit the given label in the given repository |
Label |
getLabel(IRepositoryIdProvider repository,
String label)
Get label with given name |
Label |
getLabel(String user,
String repository,
String label)
Get label with given name |
List<Label> |
getLabels(IRepositoryIdProvider repository)
Get labels |
List<Label> |
getLabels(String user,
String repository)
Get labels |
List<Label> |
setLabels(IRepositoryIdProvider repository,
String issueId,
List<Label> labels)
Set the labels for an issue |
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(IRepositoryIdProvider repository) throws IOException
repository
-
IOException
public List<Label> getLabels(String user, String repository) throws IOException
user
- repository
-
IOException
public List<Label> setLabels(IRepositoryIdProvider repository, String issueId, List<Label> labels) throws IOException
repository
- issueId
- labels
-
IOException
public List<Label> setLabels(String user, String repository, String issueId, List<Label> labels) throws IOException
user
- repository
- issueId
- labels
-
IOException
public Label createLabel(IRepositoryIdProvider repository, Label label) throws IOException
repository
- label
-
IOException
public Label createLabel(String user, String repository, Label label) throws IOException
user
- repository
- label
-
IOException
public Label getLabel(IRepositoryIdProvider repository, String label) throws IOException
repository
- label
-
IOException
public Label getLabel(String user, String repository, String label) throws IOException
user
- repository
- label
-
IOException
public void deleteLabel(IRepositoryIdProvider repository, String label) throws IOException
repository
- label
-
IOException
public void deleteLabel(String user, String repository, String label) throws IOException
user
- repository
- label
-
IOException
public Label editLabel(IRepositoryIdProvider repository, Label label) throws IOException
repository
- label
-
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |