Package | Description |
---|---|
org.gitlab4j.api |
Modifier and Type | Method and Description |
---|---|
RemoteMirror |
ProjectApi.createRemoteMirror(Object projectIdOrPath,
String url,
Boolean enabled,
Boolean onlyProtectedBranches,
Boolean keepDivergentRefs)
Create a remote mirror for a project.
|
RemoteMirror |
ProjectApi.updateRemoteMirror(Object projectIdOrPath,
Integer mirrorId,
Boolean enabled,
Boolean onlyProtectedBranches,
Boolean keepDivergentRefs)
Toggle a remote mirror on or off, or change which types of branches are mirrored.
|
Modifier and Type | Method and Description |
---|---|
List<RemoteMirror> |
ProjectApi.getRemoteMirrors(Object projectIdOrPath)
Get all remote mirrors and their statuses for the specified project.
|
Pager<RemoteMirror> |
ProjectApi.getRemoteMirrors(Object projectIdOrPath,
int itemsPerPage)
Get a Pager of remote mirrors and their statuses for the specified project.
|
Stream<RemoteMirror> |
ProjectApi.getRemoteMirrorsStream(Object projectIdOrPath)
Get a Stream of all remote mirrors and their statuses for the specified project.
|
Copyright © 2020. All rights reserved.