com.teamscale.client.TeamscaleProxySystemProperties Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of teamscale-client Show documentation
Show all versions of teamscale-client Show documentation
A tiny service client that only supports Teamscale's the external upload interface and impacted-tests service.
package com.teamscale.client;
import org.jetbrains.annotations.NotNull;
/**
* Reads and writes Java system properties values for
*
* - teamscale.http.proxyHost
* - teamscale.http.proxyPort
* - teamscale.http.proxyUser
* - teamscale.http.proxyPassword
*
* or the corresponding HTTPS counterpart (starting with https instead of http).
* These values set the proxy server and credentials that should be used later to reach Teamscale and take precedence
* over the default proxy settings (see {@link ProxySystemProperties}).
*/
public class TeamscaleProxySystemProperties extends ProxySystemProperties {
private static final String TEAMSCALE_PREFIX = "teamscale.";
/** @see ProxySystemProperties#ProxySystemProperties */
public TeamscaleProxySystemProperties(Protocol protocol) {
super(protocol);
}
@Override
@NotNull
protected String getPropertyPrefix() {
return TEAMSCALE_PREFIX;
}
}