Class RepositoryPushEvent
java.lang.Object
java.util.EventObject
com.atlassian.bitbucket.event.ApplicationEvent
com.atlassian.bitbucket.event.repository.RepositoryEvent
com.atlassian.bitbucket.event.repository.AbstractRepositoryRefsChangedEvent
com.atlassian.bitbucket.event.repository.RepositoryPushEvent
- All Implemented Interfaces:
RepositoryRefsChangedEvent,Serializable
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 CoverageLevel.FULL level
- See Also:
-
Field Summary
Fields inherited from class com.atlassian.bitbucket.event.repository.AbstractRepositoryRefsChangedEvent
EMPTY_HASHFields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionRepositoryPushEvent(Object source, Repository repository, Collection<RefChange> refChanges) -
Method Summary
Methods inherited from class com.atlassian.bitbucket.event.repository.AbstractRepositoryRefsChangedEvent
getRefChangesMethods inherited from class com.atlassian.bitbucket.event.repository.RepositoryEvent
getRepositoryMethods inherited from class com.atlassian.bitbucket.event.ApplicationEvent
getDate, getUserMethods inherited from class java.util.EventObject
getSource, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.atlassian.bitbucket.event.repository.RepositoryRefsChangedEvent
getRepository, getUser
-
Constructor Details
-
RepositoryPushEvent
public RepositoryPushEvent(@Nonnull Object source, @Nonnull Repository repository, @Nonnull Collection<RefChange> refChanges)
-