public interface PullRequestActivity extends Activity
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.
Modifier and Type | Method and Description |
---|---|
void |
accept(PullRequestActivityVisitor visitor) |
PullRequestAction |
getAction() |
PullRequest |
getPullRequest() |
getCreatedDate, getId, getUser
void accept(@Nonnull PullRequestActivityVisitor visitor)
@Nonnull PullRequestAction getAction()
@Nonnull PullRequest getPullRequest()
Copyright © 2019 Atlassian. All rights reserved.