Class MirrorCommandRequest

java.lang.Object
sonia.scm.repository.spi.MirrorCommandRequest

@Beta public final class MirrorCommandRequest extends Object
Since:
2.19.0
  • Constructor Details

    • MirrorCommandRequest

      public MirrorCommandRequest()
  • Method Details

    • getSourceUrl

      public String getSourceUrl()
    • setSourceUrl

      public void setSourceUrl(String sourceUrl)
    • getCredentials

      public Collection<Credential> getCredentials()
    • getCredential

      public <T extends Credential> Optional<T> getCredential(Class<T> credentialClass)
    • setCredentials

      public void setCredentials(Collection<Credential> credentials)
    • getFilter

      public MirrorFilter getFilter()
    • setFilter

      public void setFilter(MirrorFilter filter)
    • setIgnoreLfs

      public void setIgnoreLfs(boolean ignoreLfs)
    • isIgnoreLfs

      public boolean isIgnoreLfs()
    • isValid

      public boolean isValid()
    • setPublicKeys

      public void setPublicKeys(List<PublicKey> publicKeys)
    • getPublicKeys

      public List<PublicKey> getPublicKeys()
    • setProxyConfiguration

      public void setProxyConfiguration(ProxyConfiguration proxyConfiguration)
      Use the provided proxy configuration for the connection to the source repository.
      Parameters:
      proxyConfiguration - proxy configuration
      Since:
      2.23.0
    • getProxyConfiguration

      public Optional<ProxyConfiguration> 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