Class RepositoryModifiedEvent
java.lang.Object
java.util.EventObject
com.atlassian.bitbucket.event.ApplicationEvent
com.atlassian.bitbucket.event.repository.RepositoryEvent
com.atlassian.bitbucket.event.repository.AbstractRepositoryModificationEvent
com.atlassian.bitbucket.event.repository.RepositoryModifiedEvent
- All Implemented Interfaces:
Serializable
@AsynchronousPreferred
@TransactionAware
public class RepositoryModifiedEvent
extends AbstractRepositoryModificationEvent
Event that is raised when a repository has been successfully updated.
When this event is raised, the repository's persisted state has been updated and committed, so
RepositoryEvent.getRepository()
matches the new values
.
- See Also:
-
Field Summary
Fields inherited from class com.atlassian.bitbucket.event.repository.AbstractRepositoryModificationEvent
newValue, oldValue
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionRepositoryModifiedEvent
(Object source, Repository oldValue, Repository newValue) -
Method Summary
Methods inherited from class com.atlassian.bitbucket.event.repository.AbstractRepositoryModificationEvent
getNewValue, getOldValue, isMoved, isNameChanged, isOriginChanged, isSlugChanged, isStateChanged
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
-
Constructor Details
-
RepositoryModifiedEvent
public RepositoryModifiedEvent(@Nonnull Object source, @Nonnull Repository oldValue, @Nonnull Repository newValue)
-