Class MergeQueueBranchChangeEvent
java.lang.Object
java.util.EventObject
com.atlassian.bitbucket.event.ApplicationEvent
com.atlassian.bitbucket.pull.mergequeue.MergeQueueBranchChangeEvent
- All Implemented Interfaces:
Serializable
public class MergeQueueBranchChangeEvent
extends com.atlassian.bitbucket.event.ApplicationEvent
Event raised when a change has occurred for a queued pull request with the given merge queue branch.
Plugins can publish this event to trigger merge queue processing, for example after an external build completes.
- Since:
- 10.2
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionMergeQueueBranchChangeEvent(Object source, int repositoryId, String branchId) -
Method Summary
Methods inherited from class com.atlassian.bitbucket.event.ApplicationEvent
getDate, getUserMethods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
MergeQueueBranchChangeEvent
-
-
Method Details
-
getBranchId
- Returns:
- the branch ID of the merge queue branch
-
getRepositoryId
public int getRepositoryId()- Returns:
- the repository ID
-