java.lang.Object
org.kohsuke.github.GHIssueEvent
The type GHIssueEvent.
- Author:
- Martin van Zijl
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetActor()Gets actor.Get theGHUserthat was assigned or unassigned from the issue.Gets commit id.Gets commit url.Gets created at.getEvent()Gets event.longgetId()Gets id.getIssue()Gets issue.getLabel()Get theGHLabelthat was added to or removed from the issue.Get theGHMilestonethat this issue was added to or removed from.Gets node id.Get theGHIssueRenamethat contains information about issue old and new name.Get theGHUserperson requested to review the pull request.Get theGHUserperson who requested a review.getUrl()Gets url.toString()To string.
-
Constructor Details
-
GHIssueEvent
public GHIssueEvent()Create default GHIssueEvent instance
-
-
Method Details
-
getId
public long getId()Gets id.- Returns:
- the id
-
getNodeId
Gets node id.- Returns:
- the node id
-
getUrl
Gets url.- Returns:
- the url
-
getActor
Gets actor.- Returns:
- the actor
-
getEvent
Gets event.- Returns:
- the event
-
getCommitId
Gets commit id.- Returns:
- the commit id
-
getCommitUrl
Gets commit url.- Returns:
- the commit url
-
getCreatedAt
Gets created at.- Returns:
- the created at
-
getIssue
Gets issue.- Returns:
- the issue
-
getMilestone
Get theGHMilestonethat this issue was added to or removed from. Only present for events "milestoned" and "demilestoned",nullotherwise.- Returns:
- the milestone
-
getLabel
Get theGHLabelthat was added to or removed from the issue. Only present for events "labeled" and "unlabeled",nullotherwise.- Returns:
- the label
-
getAssignee
Get theGHUserthat was assigned or unassigned from the issue. Only present for events "assigned" and "unassigned",nullotherwise.- Returns:
- the user
-
getRename
Get theGHIssueRenamethat contains information about issue old and new name. Only present for event "renamed",nullotherwise.- Returns:
- the GHIssueRename
-
getReviewRequester
Get theGHUserperson who requested a review. Only present for events "review_requested", "review_request_removed",nullotherwise.- Returns:
- the GHUser
- See Also:
-
getRequestedReviewer
Get theGHUserperson requested to review the pull request. Only present for events "review_requested", "review_request_removed",nullotherwise.- Returns:
- the GHUser
- See Also:
-
toString
To string.
-