@AsynchronousPreferred public class AbstractRepositoryRefsChangedEvent extends RepositoryEvent implements RepositoryRefsChangedEvent
| Modifier and Type | Field and Description |
|---|---|
protected static String |
EMPTY_HASH |
source| Constructor and Description |
|---|
AbstractRepositoryRefsChangedEvent(Object source,
Repository repository,
Collection<RefChange> refChanges) |
| Modifier and Type | Method and Description |
|---|---|
Collection<RefChange> |
getRefChanges()
Retrieves a collection of the
changed refs. |
getRepositorygetDate, getUsergetSource, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetRepository, getUserprotected static final String EMPTY_HASH
public AbstractRepositoryRefsChangedEvent(@Nonnull Object source, @Nonnull Repository repository, @Nonnull Collection<RefChange> refChanges)
@Nonnull public Collection<RefChange> getRefChanges()
RepositoryRefsChangedEventchanged 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.
getRefChanges in interface RepositoryRefsChangedEventCopyright © 2019 Atlassian. All rights reserved.