Package sonia.scm.repository.spi
Class MirrorCommandRequest
java.lang.Object
sonia.scm.repository.spi.MirrorCommandRequest
- Since:
- 2.19.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T extends Credential>
Optional<T>getCredential
(Class<T> credentialClass) Returns an optional proxy configuration which is used for the connection to the source repository.boolean
boolean
isValid()
void
setCredentials
(Collection<Credential> credentials) void
setFilter
(MirrorFilter filter) void
setIgnoreLfs
(boolean ignoreLfs) void
setProxyConfiguration
(ProxyConfiguration proxyConfiguration) Use the provided proxy configuration for the connection to the source repository.void
setPublicKeys
(List<PublicKey> publicKeys) void
setSourceUrl
(String sourceUrl)
-
Constructor Details
-
MirrorCommandRequest
public MirrorCommandRequest()
-
-
Method Details
-
getSourceUrl
-
setSourceUrl
-
getCredentials
-
getCredential
-
setCredentials
-
getFilter
-
setFilter
-
setIgnoreLfs
public void setIgnoreLfs(boolean ignoreLfs) -
isIgnoreLfs
public boolean isIgnoreLfs() -
isValid
public boolean isValid() -
setPublicKeys
-
getPublicKeys
-
setProxyConfiguration
Use the provided proxy configuration for the connection to the source repository.- Parameters:
proxyConfiguration
- proxy configuration- Since:
- 2.23.0
-
getProxyConfiguration
Returns an optional proxy configuration which is used for the connection to the source repository.- Returns:
- optional proxy configuration or empty
- Since:
- 2.23.0
-