public class JnlpAgentEndpointResolver extends Object
| Constructor and Description |
|---|
JnlpAgentEndpointResolver(List<String> jenkinsUrls) |
JnlpAgentEndpointResolver(String... jenkinsUrls) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCredentials() |
String |
getProxyCredentials() |
SSLSocketFactory |
getSslSocketFactory() |
String |
getTunnel() |
boolean |
isDisableHttpsCertValidation()
Determine if certificate checking should be ignored for JNLP endpoint
|
JnlpAgentEndpoint |
resolve() |
void |
setCredentials(String credentials) |
void |
setCredentials(String user,
String pass) |
void |
setDisableHttpsCertValidation(boolean disableHttpsCertValidation)
Sets if the HTTPs certificate check should be disabled.
|
void |
setProxyCredentials(String proxyCredentials) |
void |
setProxyCredentials(String user,
String pass) |
void |
setSslSocketFactory(SSLSocketFactory sslSocketFactory) |
void |
setTunnel(String tunnel) |
void |
waitForReady() |
public JnlpAgentEndpointResolver(String... jenkinsUrls)
public SSLSocketFactory getSslSocketFactory()
public void setSslSocketFactory(SSLSocketFactory sslSocketFactory)
public String getCredentials()
public void setCredentials(String credentials)
public String getProxyCredentials()
public void setProxyCredentials(String proxyCredentials)
public String getTunnel()
public void setTunnel(String tunnel)
public boolean isDisableHttpsCertValidation()
true if the HTTPs certificate is disabled, endpoint check is ignoredpublic void setDisableHttpsCertValidation(boolean disableHttpsCertValidation)
disableHttpsCertValidation - @CheckForNull public JnlpAgentEndpoint resolve() throws IOException
IOExceptionpublic void waitForReady()
throws InterruptedException
InterruptedExceptionCopyright © 2004–2017. All rights reserved.