Class BranchCreatedEvent
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.BranchCreatedEvent
- All Implemented Interfaces:
RepositoryRefsChangedEvent
,Serializable
An event that is raised when a branch is created using the UI or REST. Branches
created 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
-
BranchCreatedEvent
public BranchCreatedEvent(@Nonnull Object source, @Nonnull Repository repository, @Nonnull Branch branch)
-