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:
  • Constructor Details

    • MergeQueueBranchChangeEvent

      public MergeQueueBranchChangeEvent(@Nonnull Object source, int repositoryId, @Nonnull String branchId)
  • Method Details

    • getBranchId

      @Nonnull public String getBranchId()
      Returns:
      the branch ID of the merge queue branch
    • getRepositoryId

      public int getRepositoryId()
      Returns:
      the repository ID