public class RepositoryMirrorSynchronizedEvent extends AbstractRepositoryMirrorEvent
Repository has been synchronized on a mirror| Modifier and Type | Class and Description |
|---|---|
static class |
RepositoryMirrorSynchronizedEvent.Builder |
source| Constructor and Description |
|---|
RepositoryMirrorSynchronizedEvent(Object source,
String mirrorServerId,
Repository repository,
Collection<MinimalRef> failedRefs,
Collection<RefChange> refChanges)
Deprecated.
in 6.5 for removal in 8.0. Use
RepositoryMirrorSynchronizedEvent.Builder instead. |
| Modifier and Type | Method and Description |
|---|---|
Collection<NamedLink> |
getCloneLinks() |
Collection<MinimalRef> |
getFailedRefs() |
Collection<RefChange> |
getRefChanges() |
RepositorySynchronizationType |
getSyncType() |
boolean |
isRefLimitExceeded() |
getMirrorServerId, getMirrorServerName, getRepositorygetDate, getUsergetSource, toString@Deprecated public RepositoryMirrorSynchronizedEvent(@Nonnull Object source, @Nonnull String mirrorServerId, @Nonnull Repository repository, @Nonnull Collection<MinimalRef> failedRefs, @Nonnull Collection<RefChange> refChanges)
RepositoryMirrorSynchronizedEvent.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 raisedfailedRefs - Collection of all MinimalRefs that failed to be synced by the mirrorrefChanges - Collection of all RefChanges that the mirror synced@Nonnull public Collection<NamedLink> getCloneLinks()
@Nonnull public Collection<MinimalRef> getFailedRefs()
@Nonnull public Collection<RefChange> getRefChanges()
@Nullable public RepositorySynchronizationType getSyncType()
public boolean isRefLimitExceeded()
Copyright © 2021 Atlassian. All rights reserved.