@AsynchronousPreferred public class

RepositoryPushEvent

extends AbstractRepositoryRefsChangedEvent
java.lang.Object
   ↳ java.util.EventObject
     ↳ com.atlassian.bitbucket.event.ApplicationEvent
       ↳ com.atlassian.bitbucket.event.repository.RepositoryEvent
         ↳ com.atlassian.bitbucket.event.repository.AbstractRepositoryRefsChangedEvent
           ↳ com.atlassian.bitbucket.event.repository.RepositoryPushEvent

Class Overview

Event that is raised when a user pushes one or more refs to a repository. A push does not guarantee that new commits have been added to the repository; it only guarantees at least one ref has been changed.

Listeners that are interested in all ref changes, not just those stemming from pushes (such as pull request merges), should listen for RepositoryRefsChangedEvents instead.

This event is internally audited with a LOW priority.

Summary

[Expand]
Inherited Fields
From class com.atlassian.bitbucket.event.repository.AbstractRepositoryRefsChangedEvent
From class java.util.EventObject
Public Constructors
RepositoryPushEvent(Object source, Repository repository, Collection<RefChange> refChanges)
[Expand]
Inherited Methods
From class com.atlassian.bitbucket.event.repository.AbstractRepositoryRefsChangedEvent
From class com.atlassian.bitbucket.event.repository.RepositoryEvent
From class com.atlassian.bitbucket.event.ApplicationEvent
From class java.util.EventObject
From class java.lang.Object
From interface com.atlassian.bitbucket.event.repository.RepositoryRefsChangedEvent

Public Constructors

public RepositoryPushEvent (Object source, Repository repository, Collection<RefChange> refChanges)