public class JnlpAgentEndpointResolver extends JnlpEndpointResolver
| Constructor and Description |
|---|
JnlpAgentEndpointResolver(List<String> jenkinsUrls) |
JnlpAgentEndpointResolver(List<String> jenkinsUrls,
String credentials,
String proxyCredentials,
String tunnel,
SSLSocketFactory sslSocketFactory,
boolean disableHttpsCertValidation) |
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() |
getIdentitypublic 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)
@CheckForNull public String getTunnel()
public void setTunnel(@CheckForNull
String tunnel)
public boolean isDisableHttpsCertValidation()
true if the HTTPs certificate is disabled, endpoint check is ignoredpublic void setDisableHttpsCertValidation(boolean disableHttpsCertValidation)
@CheckForNull public JnlpAgentEndpoint resolve() throws IOException
resolve in class JnlpEndpointResolverIOExceptionpublic void waitForReady()
throws InterruptedException
waitForReady in class JnlpEndpointResolverInterruptedExceptionCopyright © 2004–2022. All rights reserved.