Class RepositoryEvent

java.lang.Object
java.util.EventObject
com.atlassian.bitbucket.event.ApplicationEvent
com.atlassian.bitbucket.event.repository.RepositoryEvent
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AbstractRepositoryModificationEvent, AbstractRepositoryRefsChangedEvent, CommitDiscussionEvent, PullRequestFilterEvent, RepositoryAccessedEvent, RepositoryCreatedEvent, RepositoryCreationFailedEvent, RepositoryCreationRequestedEvent, RepositoryDefaultBranchModifiedEvent, RepositoryDeleteBlockedEvent, RepositoryDeletedEvent, RepositoryDeletionRequestedEvent, RepositoryOtherReadEvent, RepositoryOtherWriteEvent, RepositoryPullEvent

public abstract class RepositoryEvent extends ApplicationEvent
Base class for all events related to repositories: pushes, pulls, merge operations, etc.

This event is internally audited.

See Also:
  • Constructor Details

    • RepositoryEvent

      public RepositoryEvent(@Nonnull Object source, @Nonnull Repository repository)
  • Method Details

    • getRepository

      @Nonnull public Repository getRepository()