java.lang.Object
org.kohsuke.github.GHIssueEvent
The type GHIssueEvent.
- Author:
- Martin van Zijl
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetActor()
Gets actor.Get theGHUser
that was assigned or unassigned from the issue.Gets commit id.Gets commit url.Gets created at.getEvent()
Gets event.long
getId()
Gets id.getIssue()
Gets issue.getLabel()
Get theGHLabel
that was added to or removed from the issue.Get theGHMilestone
that this issue was added to or removed from.Gets node id.Get theGHIssueRename
that contains information about issue old and new name.Get theGHUser
person requested to review the pull request.Get theGHUser
person 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 theGHMilestone
that this issue was added to or removed from. Only present for events "milestoned" and "demilestoned",null
otherwise.- Returns:
- the milestone
-
getLabel
Get theGHLabel
that was added to or removed from the issue. Only present for events "labeled" and "unlabeled",null
otherwise.- Returns:
- the label
-
getAssignee
Get theGHUser
that was assigned or unassigned from the issue. Only present for events "assigned" and "unassigned",null
otherwise.- Returns:
- the user
-
getRename
Get theGHIssueRename
that contains information about issue old and new name. Only present for event "renamed",null
otherwise.- Returns:
- the GHIssueRename
-
getReviewRequester
Get theGHUser
person who requested a review. Only present for events "review_requested", "review_request_removed",null
otherwise.- Returns:
- the GHUser
- See Also:
-
getRequestedReviewer
Get theGHUser
person requested to review the pull request. Only present for events "review_requested", "review_request_removed",null
otherwise.- Returns:
- the GHUser
- See Also:
-
toString
To string.
-