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 RepositoryRefsChangedEvent
s
instead.
- See Also:
-
Field Summary
Fields inherited from class com.atlassian.bitbucket.event.branch.BranchChangedEvent
branch
Fields inherited from class com.atlassian.bitbucket.event.repository.AbstractRepositoryRefsChangedEvent
EMPTY_HASH
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
-
Method Summary
Methods inherited from class com.atlassian.bitbucket.event.branch.BranchChangedEvent
getBranch
Methods inherited from class com.atlassian.bitbucket.event.repository.AbstractRepositoryRefsChangedEvent
getRefChanges
Methods inherited from class com.atlassian.bitbucket.event.repository.RepositoryEvent
getRepository
Methods inherited from class com.atlassian.bitbucket.event.ApplicationEvent
getDate, getUser
Methods inherited from class java.util.EventObject
getSource, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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)
-