|
|||||||||
| 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.
| 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. |
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. |
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 |
| 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 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
IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||