Interface PullRequestActivity

All Superinterfaces:
Activity
All Known Subinterfaces:
PullRequestAutoMergeCancelledActivity, PullRequestCommentActivity, PullRequestDraftStatusUpdatedActivity, PullRequestMergeActivity, PullRequestRescopeActivity, PullRequestReviewersUpdatedActivity

public interface PullRequestActivity extends Activity
A pull request activity, used to track significant events in a pull request's lifecycle.

Some activities, such as when a pull request is merged, include additional data and have their own type. Other activities, like when a pull request is opened provide no additional information beyond this interface. The PullRequestActivityVisitor can be used to work with the various types safely.