public class

AbstractRepositoryMirrorEvent

extends ApplicationEvent
implements RepositoryMirrorEvent
java.lang.Object
   ↳ java.util.EventObject
     ↳ com.atlassian.bitbucket.event.ApplicationEvent
       ↳ com.atlassian.bitbucket.event.mirror.AbstractRepositoryMirrorEvent
Known Direct Subclasses

Class Overview

Base class for Repository events that have been raised on a mirror.

This class does not extend RepositoryEvent because events derived from this class relate to mirrored repositories while the RepositoryEvent hierarchy relates to local repositories.

Summary

Nested Classes
class AbstractRepositoryMirrorEvent.Builder<B extends Builder, T extends AbstractRepositoryMirrorEvent>  
[Expand]
Inherited Fields
From class java.util.EventObject
Public Constructors
@Deprecated AbstractRepositoryMirrorEvent(Object source, String mirrorServerId, Repository repository)
This constructor is deprecated. in 6.5 for removal in 7.0. Use AbstractRepositoryMirrorEvent.Builder instead.
Protected Constructors
AbstractRepositoryMirrorEvent(Builder builder)
Public Methods
@Nonnull String getMirrorServerId()
@Nonnull String getMirrorServerName()
@Nonnull Repository getRepository()
[Expand]
Inherited Methods
From class com.atlassian.bitbucket.event.ApplicationEvent
From class java.util.EventObject
From class java.lang.Object
From interface com.atlassian.bitbucket.event.mirror.MirrorEvent
From interface com.atlassian.bitbucket.event.mirror.RepositoryMirrorEvent

Public Constructors

@Deprecated public AbstractRepositoryMirrorEvent (Object source, String mirrorServerId, Repository repository)

This constructor is deprecated.
in 6.5 for removal in 7.0. Use AbstractRepositoryMirrorEvent.Builder instead.

Parameters
source the object which raised this event
mirrorServerId the id of the mirror for which this event is raised
repository the repository for which this event should be raised

Protected Constructors

protected AbstractRepositoryMirrorEvent (Builder builder)

Public Methods

@Nonnull public String getMirrorServerId ()

@Nonnull public String getMirrorServerName ()

@Nonnull public Repository getRepository ()