Class BranchDeletedEvent
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.branch.BranchChangedEvent
com.atlassian.bitbucket.event.branch.BranchDeletedEvent
- All Implemented Interfaces:
RepositoryRefsChangedEvent,Serializable
An event that is raised when a branch is deleted using the UI (e.g. from the branches page, or via deleting the
source branch of a pull request when merging it) or using the REST API.
Branches deleted by pushing will not trigger this event.
Listeners that are interested in all repository changes should listen for RepositoryRefsChangedEvents
instead.
- See Also:
-
Field Summary
Fields inherited from class com.atlassian.bitbucket.event.branch.BranchChangedEvent
branchFields inherited from class com.atlassian.bitbucket.event.repository.AbstractRepositoryRefsChangedEvent
EMPTY_HASHFields inherited from class java.util.EventObject
source -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.atlassian.bitbucket.event.branch.BranchChangedEvent
getBranchMethods 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
-
BranchDeletedEvent
public BranchDeletedEvent(@Nonnull Object source, @Nonnull Repository repository, @Nonnull Branch branch)
-