@AsynchronousPreferred public class

RepositoryPushEvent

extends AbstractRepositoryRefsChangedEvent
java.lang.Object
   ↳ java.util.EventObject
     ↳ com.atlassian.stash.event.StashEvent
       ↳ com.atlassian.stash.event.RepositoryEvent
         ↳ com.atlassian.stash.event.AbstractRepositoryRefsChangedEvent
           ↳ com.atlassian.stash.event.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 java.util.EventObject
Public Constructors
RepositoryPushEvent(Object source, Repository repository, Collection<RefChange> refChanges)
[Expand]
Inherited Methods
From class com.atlassian.stash.event.AbstractRepositoryRefsChangedEvent
From class com.atlassian.stash.event.RepositoryEvent
From class com.atlassian.stash.event.StashEvent
From class java.util.EventObject
From class java.lang.Object
From interface com.atlassian.stash.event.RepositoryRefsChangedEvent

Public Constructors

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