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
-
getActor
Gets actor.- Returns:
- the actor
-
getAssignee
Get theGHUserthat was assigned or unassigned from the issue. Only present for events "assigned" and "unassigned",nullotherwise.- 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 theGHLabelthat was added to or removed from the issue. Only present for events "labeled" and "unlabeled",nullotherwise.- Returns:
- the label
-
getMilestone
Get theGHMilestonethat this issue was added to or removed from. Only present for events "milestoned" and "demilestoned",nullotherwise.- Returns:
- the milestone
-
getNodeId
Gets node id.- Returns:
- the node id
-
getRename
Get theGHIssueRenamethat contains information about issue old and new name. Only present for event "renamed",nullotherwise.- Returns:
- the GHIssueRename
-
getRequestedReviewer
Get theGHUserperson requested to review the pull request. Only present for events "review_requested", "review_request_removed",nullotherwise.- Returns:
- the GHUser
- See Also:
-
getReviewRequester
Get theGHUserperson who requested a review. Only present for events "review_requested", "review_request_removed",nullotherwise.- Returns:
- the GHUser
- See Also:
-
getUrl
Gets url.- Returns:
- the url
-
toString
To string.
-