Class PullRequestFilterEvent
java.lang.Object
java.util.EventObject
com.atlassian.bitbucket.event.ApplicationEvent
com.atlassian.bitbucket.event.repository.RepositoryEvent
com.atlassian.bitbucket.event.repository.PullRequestFilterEvent
- All Implemented Interfaces:
Serializable
Event that is raised when
PullRequests are filtered by one or more criteria from the UI.
This event is internally audited
- Since:
- 7.3
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionPullRequestFilterEvent(Object source, Repository repository, PullRequestState state, Iterable<PullRequestParticipantRequest> prParticipants, String branch, String filterText) -
Method Summary
Methods inherited from class com.atlassian.bitbucket.event.repository.RepositoryEvent
getRepositoryMethods inherited from class com.atlassian.bitbucket.event.ApplicationEvent
getDate, getUserMethods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
PullRequestFilterEvent
public PullRequestFilterEvent(@Nonnull Object source, @Nonnull Repository repository, @Nullable PullRequestState state, @Nonnull Iterable<PullRequestParticipantRequest> prParticipants, @Nullable String branch, @Nullable String filterText)
-
-
Method Details
-
getAuthor
- Returns:
- optional author used for filtering
PullRequests
-
getBranch
- Returns:
- optional branch used for filtering
PullRequests
-
getFilterText
- Returns:
- optional text used for filtering
PullRequests
-
getReviewer
- Returns:
- optional reviewer used for filtering
PullRequests
-
getState
- Returns:
- optional
PullRequestStateused for filteringPullRequests
-