Package sonia.scm.repository.api
Class MirrorCommandBuilder
java.lang.Object
sonia.scm.repository.api.MirrorCommandBuilder
- Since:
- 2.19.0
-
Method Summary
Modifier and TypeMethodDescriptionsetCredentials(Collection<Credential> credentials) setCredentials(Credential credential, Credential... furtherCredentials) setFilter(MirrorFilter filter) setIgnoreLfs(boolean ignoreLfs) If set totrue, lfs files will not be mirrored.setProxyConfiguration(ProxyConfiguration proxyConfiguration) Set the proxy configuration which should be used to access the source repository of the mirror.setPublicKeys(Collection<PublicKey> publicKeys) setPublicKeys(PublicKey... publicKeys) setSourceUrl(String sourceUrl) update()
-
Method Details
-
setCredentials
-
setCredentials
-
setPublicKeys
-
setPublicKeys
-
setSourceUrl
-
setFilter
-
setIgnoreLfs
If set totrue, lfs files will not be mirrored. Defaults tofalse.- Returns:
- This builder instance
- Since:
- 2.37.0
-
setProxyConfiguration
Set the proxy configuration which should be used to access the source repository of the mirror. If not proxy configuration is set the global configuration should be used instead.- Parameters:
proxyConfiguration- proxy configuration to access the source repository- Returns:
this- Since:
- 2.23.0
-
initialCall
-
update
-