|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.kohsuke.github.GHIssue
public class GHIssue
Represents an issue on GitHub.
| Nested Class Summary | |
|---|---|
static class |
GHIssue.PullRequest
|
| Field Summary | |
|---|---|
protected GHUser |
assignee
|
protected String |
body
|
protected String |
closed_at
|
protected GHUser |
closed_by
|
protected int |
comments
|
protected String |
created_at
|
protected String |
html_url
|
protected int |
id
|
protected List<String> |
labels
|
protected GHMilestone |
milestone
|
protected int |
number
|
protected GHIssue.PullRequest |
pull_request
|
protected String |
state
|
protected String |
title
|
protected String |
updated_at
|
protected String |
url
|
protected GHUser |
user
|
| Constructor Summary | |
|---|---|
GHIssue()
|
|
| Method Summary | |
|---|---|
void |
assignTo(GHUser user)
|
void |
close()
Closes this issue. |
void |
comment(String message)
Updates the issue by adding a comment. |
URL |
getApiURL()
|
GHUser |
getAssignee()
|
String |
getBody()
The description of this pull request. |
Date |
getClosedAt()
|
GHUser |
getClosedBy()
|
List<GHIssueComment> |
getComments()
Obtains all the comments associated with this issue. |
int |
getCommentsCount()
|
Date |
getCreatedAt()
|
Collection<String> |
getLabels()
|
GHMilestone |
getMilestone()
|
int |
getNumber()
ID. |
GHIssue.PullRequest |
getPullRequest()
|
GHRepository |
getRepository()
Repository to which the issue belongs. |
GHIssueState |
getState()
|
String |
getTitle()
|
Date |
getUpdatedAt()
|
URL |
getUrl()
The HTML page of this issue, like https://github.com/jenkinsci/jenkins/issues/100 |
GHUser |
getUser()
User who submitted the issue. |
PagedIterable<GHIssueComment> |
listComments()
Obtains all the comments associated with this issue. |
void |
reopen()
Reopens this issue. |
void |
setBody(String body)
|
void |
setLabels(String... labels)
|
void |
setTitle(String title)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected GHUser assignee
protected String state
protected int number
protected String closed_at
protected int comments
protected String body
protected List<String> labels
protected GHUser user
protected String title
protected String created_at
protected String html_url
protected GHIssue.PullRequest pull_request
protected GHMilestone milestone
protected String url
protected String updated_at
protected int id
protected GHUser closed_by
| Constructor Detail |
|---|
public GHIssue()
| Method Detail |
|---|
public GHRepository getRepository()
public String getBody()
public int getNumber()
public URL getUrl()
public String getTitle()
public GHIssueState getState()
public Collection<String> getLabels()
public Date getCreatedAt()
public Date getUpdatedAt()
public Date getClosedAt()
public URL getApiURL()
public void comment(String message)
throws IOException
IOException
public void close()
throws IOException
IOException
public void reopen()
throws IOException
IOException
public void setTitle(String title)
throws IOException
IOException
public void setBody(String body)
throws IOException
IOException
public void assignTo(GHUser user)
throws IOException
IOException
public void setLabels(String... labels)
throws IOException
IOException
public List<GHIssueComment> getComments()
throws IOException
IOExceptionlistComments()
public PagedIterable<GHIssueComment> listComments()
throws IOException
IOExceptionpublic GHUser getAssignee()
public GHUser getUser()
public GHUser getClosedBy()
public int getCommentsCount()
public GHIssue.PullRequest getPullRequest()
public GHMilestone getMilestone()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||