Class AbstractRepositoryMirrorEvent
java.lang.Object
java.util.EventObject
com.atlassian.bitbucket.event.ApplicationEvent
com.atlassian.bitbucket.event.mirror.AbstractRepositoryMirrorEvent
- All Implemented Interfaces:
MirrorEvent,RepositoryMirrorEvent,Serializable
- Direct Known Subclasses:
RepositoryMirrorSynchronizationFailedEvent,RepositoryMirrorSynchronizedEvent
public class AbstractRepositoryMirrorEvent
extends ApplicationEvent
implements RepositoryMirrorEvent
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.
- Since:
- 5.0
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classAbstractRepositoryMirrorEvent.Builder<B extends AbstractRepositoryMirrorEvent.Builder,T extends AbstractRepositoryMirrorEvent> -
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class com.atlassian.bitbucket.event.ApplicationEvent
getDate, getUserMethods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
AbstractRepositoryMirrorEvent
-
-
Method Details
-
getMirrorServerId
- Specified by:
getMirrorServerIdin interfaceMirrorEvent- Returns:
- the ID of the server where this event originated
-
getMirrorServerName
- Specified by:
getMirrorServerNamein interfaceMirrorEvent- Returns:
- the name of the server where this event is originated
-
getRepository
- Specified by:
getRepositoryin interfaceRepositoryMirrorEvent- Returns:
- the local
Repositorythis event is concerned with
-