Package org.kohsuke.github
Class GHEventPayload.IssueComment
- java.lang.Object
-
- org.kohsuke.github.GHEventPayload
-
- org.kohsuke.github.GHEventPayload.IssueComment
-
- Enclosing class:
- GHEventPayload
public static class GHEventPayload.IssueComment extends GHEventPayload
A comment was added to an issue- See Also:
- authoritative source
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.kohsuke.github.GHEventPayload
GHEventPayload.CommitComment, GHEventPayload.Create, GHEventPayload.Delete, GHEventPayload.Deployment, GHEventPayload.DeploymentStatus, GHEventPayload.Fork, GHEventPayload.Issue, GHEventPayload.IssueComment, GHEventPayload.Ping, GHEventPayload.Public, GHEventPayload.PullRequest, GHEventPayload.PullRequestReview, GHEventPayload.PullRequestReviewComment, GHEventPayload.Push, GHEventPayload.Release, GHEventPayload.Repository
-
-
Field Summary
-
Fields inherited from class org.kohsuke.github.GHEventPayload
root
-
-
Constructor Summary
Constructors Constructor Description IssueComment()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAction()Gets action.GHIssueCommentgetComment()Gets comment.GHIssuegetIssue()Gets issue.GHRepositorygetRepository()Gets repository.voidsetComment(GHIssueComment comment)Sets comment.voidsetIssue(GHIssue issue)Sets issue.voidsetRepository(GHRepository repository)Sets repository.-
Methods inherited from class org.kohsuke.github.GHEventPayload
getSender, setSender
-
-
-
-
Method Detail
-
getAction
public String getAction()
Gets action.- Returns:
- the action
-
getComment
public GHIssueComment getComment()
Gets comment.- Returns:
- the comment
-
setComment
public void setComment(GHIssueComment comment)
Sets comment.- Parameters:
comment- the comment
-
getIssue
public GHIssue getIssue()
Gets issue.- Returns:
- the issue
-
setIssue
public void setIssue(GHIssue issue)
Sets issue.- Parameters:
issue- the issue
-
getRepository
public GHRepository getRepository()
Gets repository.- Returns:
- the repository
-
setRepository
public void setRepository(GHRepository repository)
Sets repository.- Parameters:
repository- the repository
-
-