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 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
-
getActor
Gets actor.- Returns:
- the actor
-
getAssignee
Get theGHUser
that was assigned or unassigned from the issue. Only present for events "assigned" and "unassigned",null
otherwise.- Returns:
- the user
-
getCommitId
Gets commit id.- Returns:
- the commit id
-
getCommitUrl
Gets commit url.- Returns:
- the commit url
-
getCreatedAt
@WithBridgeMethods(value=java.util.Date.class, adapterMethod="instantToDate") public Instant getCreatedAt()Gets created at.- Returns:
- the created at
-
getEvent
Gets event.- Returns:
- the event
-
getId
public long getId()Gets id.- Returns:
- the id
-
getIssue
Gets issue.- Returns:
- the issue
-
getLabel
Get theGHLabel
that was added to or removed from the issue. Only present for events "labeled" and "unlabeled",null
otherwise.- Returns:
- the label
-
getMilestone
Get theGHMilestone
that this issue was added to or removed from. Only present for events "milestoned" and "demilestoned",null
otherwise.- Returns:
- the milestone
-
getNodeId
Gets node id.- Returns:
- the node id
-
getRename
Get theGHIssueRename
that contains information about issue old and new name. Only present for event "renamed",null
otherwise.- Returns:
- the GHIssueRename
-
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:
-
getReviewRequester
Get theGHUser
person who requested a review. Only present for events "review_requested", "review_request_removed",null
otherwise.- Returns:
- the GHUser
- See Also:
-
getUrl
Gets url.- Returns:
- the url
-
toString
To string.
-