public class GHIssue extends Object
| Constructor and Description |
|---|
GHIssue() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes this issue.
|
void |
comment(String message)
Updates the issue by adding a comment.
|
String |
getBody()
The description of this pull request.
|
List<GHIssueComment> |
getComments()
Obtains all the comments associated with this issue.
|
Date |
getCreatedAt() |
Collection<String> |
getLabels() |
int |
getNumber()
ID.
|
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
|
void |
reopen()
Reopens this issue.
|
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 void comment(String message) throws IOException
IOExceptionpublic void close()
throws IOException
IOExceptionpublic void reopen()
throws IOException
IOExceptionpublic List<GHIssueComment> getComments() throws IOException
IOExceptionCopyright © 2012. All Rights Reserved.