Class RepositoryMirrorSynchronizedEvent.Builder
java.lang.Object
com.atlassian.bitbucket.event.mirror.AbstractRepositoryMirrorEvent.Builder<RepositoryMirrorSynchronizedEvent.Builder,RepositoryMirrorSynchronizedEvent>
com.atlassian.bitbucket.event.mirror.RepositoryMirrorSynchronizedEvent.Builder
- Enclosing class:
- RepositoryMirrorSynchronizedEvent
public static class RepositoryMirrorSynchronizedEvent.Builder
extends AbstractRepositoryMirrorEvent.Builder<RepositoryMirrorSynchronizedEvent.Builder,RepositoryMirrorSynchronizedEvent>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
cloneLinks
(Collection<NamedLink> value) failedRefs
(Collection<MinimalRef> value) refChanges
(Collection<RefChange> value) refLimitExceeded
(boolean value) protected void
validate()
Methods inherited from class com.atlassian.bitbucket.event.mirror.AbstractRepositoryMirrorEvent.Builder
mirrorServerId, mirrorServerName, repository, self, source
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
-
cloneLinks
@Nonnull public RepositoryMirrorSynchronizedEvent.Builder cloneLinks(@Nonnull Collection<NamedLink> value) -
failedRefs
@Nonnull public RepositoryMirrorSynchronizedEvent.Builder failedRefs(@Nonnull Collection<MinimalRef> value) -
refChanges
@Nonnull public RepositoryMirrorSynchronizedEvent.Builder refChanges(@Nonnull Collection<RefChange> value) -
refLimitExceeded
-
syncType
@Nonnull public RepositoryMirrorSynchronizedEvent.Builder syncType(RepositorySynchronizationType value) -
validate
protected void validate()
-