public class AbstractRepositoryMirrorEvent extends ApplicationEvent implements RepositoryMirrorEvent
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.
| Modifier and Type | Class and Description |
|---|---|
protected static class |
AbstractRepositoryMirrorEvent.Builder<B extends AbstractRepositoryMirrorEvent.Builder,T extends AbstractRepositoryMirrorEvent> |
source| Modifier | Constructor and Description |
|---|---|
protected |
AbstractRepositoryMirrorEvent(AbstractRepositoryMirrorEvent.Builder builder) |
|
AbstractRepositoryMirrorEvent(Object source,
String mirrorServerId,
Repository repository)
Deprecated.
in 6.5 for removal in 8.0. Use
AbstractRepositoryMirrorEvent.Builder instead. |
| Modifier and Type | Method and Description |
|---|---|
String |
getMirrorServerId() |
String |
getMirrorServerName() |
Repository |
getRepository() |
getDate, getUsergetSource, toStringprotected AbstractRepositoryMirrorEvent(AbstractRepositoryMirrorEvent.Builder builder)
@Deprecated public AbstractRepositoryMirrorEvent(@Nonnull Object source, @Nonnull String mirrorServerId, @Nonnull Repository repository)
AbstractRepositoryMirrorEvent.Builder instead.source - the object which raised this eventmirrorServerId - the id of the mirror for which this event is raisedrepository - the repository for which this event should be raised@Nonnull public String getMirrorServerId()
getMirrorServerId in interface MirrorEvent@Nonnull public String getMirrorServerName()
getMirrorServerName in interface MirrorEvent@Nonnull public Repository getRepository()
getRepository in interface RepositoryMirrorEventRepository this event is concerned withCopyright © 2020 Atlassian. All rights reserved.