@AsynchronousPreferred public class RepositoryPushEvent extends AbstractRepositoryRefsChangedEvent
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 RepositoryRefsChangedEvent
s instead.
This event is internally audited with CoverageLevel.FULL
level
EMPTY_HASH
source
Constructor and Description |
---|
RepositoryPushEvent(Object source,
Repository repository,
Collection<RefChange> refChanges) |
getRefChanges
getRepository
getDate, getUser
getSource, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getRepository, getUser
public RepositoryPushEvent(@Nonnull Object source, @Nonnull Repository repository, @Nonnull Collection<RefChange> refChanges)
Copyright © 2022 Atlassian. All rights reserved.