@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 . |
getRepository
getDate, getUser
getSource, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getRepository, getUser
protected static final String EMPTY_HASH
public AbstractRepositoryRefsChangedEvent(@Nonnull Object source, @Nonnull Repository repository, @Nonnull Collection<RefChange> refChanges)
@Nonnull public Collection<RefChange> getRefChanges()
RepositoryRefsChangedEvent
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.
getRefChanges
in interface RepositoryRefsChangedEvent
Copyright © 2022 Atlassian. All rights reserved.