public class RepositoryMirrorSynchronizedEvent extends AbstractRepositoryMirrorEvent
Repository
has been synchronized on a mirrorModifier 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 7.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, getRepository
getDate, getUser
getSource, 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 MinimalRef
s that failed to be synced by the mirrorrefChanges
- Collection
of all RefChange
s 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 © 2019 Atlassian. All rights reserved.