@AsynchronousPreferred public class

AbstractRepositoryRefsChangedEvent

extends RepositoryEvent
implements RepositoryRefsChangedEvent
java.lang.Object
   ↳ java.util.EventObject
     ↳ com.atlassian.bitbucket.event.ApplicationEvent
       ↳ com.atlassian.bitbucket.event.repository.RepositoryEvent
         ↳ com.atlassian.bitbucket.event.repository.AbstractRepositoryRefsChangedEvent
Known Direct Subclasses
Known Indirect Subclasses

Class Overview

Basic implementation of RepositoryRefsChangedEvent that developers can extend.

Summary

Fields
protected static final String EMPTY_HASH
[Expand]
Inherited Fields
From class java.util.EventObject
Public Constructors
AbstractRepositoryRefsChangedEvent(Object source, Repository repository, Collection<RefChange> refChanges)
Public Methods
@Nonnull Collection<RefChange> getRefChanges()
Retrieves a collection of the changed refs.
[Expand]
Inherited Methods
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

Fields

protected static final String EMPTY_HASH

Public Constructors

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

Public Methods

@Nonnull public Collection<RefChange> getRefChanges ()

Retrieves a collection of the changed refs.

Note: While the returned collection will never be null, it may be empty. For example, a remotely merged pull request will have an empty set of changes.

Returns
  • a collection containing 0 or more changed refs