Interface MetaRepository
- All Superinterfaces:
Repository
A Revision-controlled filesystem-like repository which is named
"meta"
.-
Field Summary
Fields inherited from interface com.linecorp.centraldogma.server.storage.repository.Repository
ALL_PATH, DEFAULT_MAX_COMMITS, MAX_MAX_COMMITS
-
Method Summary
Modifier and TypeMethodDescriptioncreatePushCommand
(com.linecorp.centraldogma.internal.api.v1.MirrorDto mirrorDto, Author author, ZoneConfig zoneConfig, boolean update) Create a pushCommand
for theMirrorDto
.createPushCommand
(Credential credential, Author author, boolean update) Create a pushCommand
for theCredential
.credential
(String id) Returns a mirroring credential of the specifiedid
.Returns a list of mirroring credentials.Returns a mirroring task of the specifiedid
.default CompletableFuture
<List<Mirror>> mirrors()
Returns active mirroring tasks.mirrors
(boolean includeDisabled) Returns a set of mirroring tasks.Methods inherited from interface com.linecorp.centraldogma.server.storage.repository.Repository
addListener, author, commit, commit, commit, commit, commit, creationTimeMillis, diff, diff, diff, diff, exists, find, find, findLatestRevision, findLatestRevision, get, get, getOrNull, getOrNull, history, history, jGitRepository, mergeFiles, name, normalize, normalizeNow, normalizeNow, parent, previewDiff, previewDiff, removeListener, watch, watch, watch, watch
-
Method Details
-
mirrors
Returns active mirroring tasks. -
mirrors
Returns a set of mirroring tasks. IfincludeDisabled
istrue
, disabled mirroring tasks are also included in the returnedMirror
s. -
mirror
Returns a mirroring task of the specifiedid
. -
credentials
CompletableFuture<List<Credential>> credentials()Returns a list of mirroring credentials. -
credential
Returns a mirroring credential of the specifiedid
. -
createPushCommand
CompletableFuture<Command<CommitResult>> createPushCommand(com.linecorp.centraldogma.internal.api.v1.MirrorDto mirrorDto, Author author, @Nullable ZoneConfig zoneConfig, boolean update) Create a pushCommand
for theMirrorDto
. -
createPushCommand
CompletableFuture<Command<CommitResult>> createPushCommand(Credential credential, Author author, boolean update) Create a pushCommand
for theCredential
.
-