public class HostConnection extends hudson.model.AbstractDescribableImpl<HostConnection>
| Modifier and Type | Class | Description |
|---|---|---|
static class |
HostConnection.DescriptorImpl |
DescriptorImpl is used to create instances of
CodeCoverageBuilder. |
| Constructor | Description |
|---|---|
HostConnection(String description,
String hostPort,
String codePage,
String timeout,
String connectionId) |
Constructor.
|
HostConnection(String description,
String hostPort,
String codePage,
String timeout,
String connectionId,
String cesUrl) |
Constructor.
|
HostConnection(String description,
String hostPort,
String protocol,
String codePage,
String timeout,
String connectionId,
String cesUrl) |
Constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
static String |
generateId(String id) |
Generates and returns a unique identifier for this connection.
|
String |
getCesUrl() |
Get the CES URL
|
String |
getCodePage() |
Returns this connection's code page.
|
String |
getConnectionId() |
Returns this connection's unique identifier.
|
String |
getDescription() |
Returns this connection's description.
|
String |
getHost() |
Returns this connection's host.
|
String |
getHostPort() |
Returns this connection's host and port.
|
String |
getPort() |
Returns this connection's port.
|
String |
getProtocol() |
Returns this connection's encryption protocol.
|
String |
getTimeout() |
Returns this connection's read/write timeout.
|
@DataBoundConstructor public HostConnection(String description, String hostPort, String protocol, String codePage, String timeout, String connectionId, String cesUrl)
description - the description of the host connectionhostPort - the host:portprotocol - the encryption protocolcodePage - the code page to be used for the host connectiontimeout - the read/write timeout to honor on the host connectionconnectionId - a unique identifiercesUrl - a CES URLpublic HostConnection(String description, String hostPort, String codePage, String timeout, String connectionId, String cesUrl)
description - the description of the host connectionhostPort - the host:portcodePage - the code page to be used for the host connectiontimeout - the read/write timeout to honor on the host connectionconnectionId - a unique identifiercesUrl - a CES URLpublic HostConnection(String description, String hostPort, String codePage, String timeout, String connectionId)
description - the description of the host connectionhostPort - the host:portcodePage - the code page to be used for the host connectiontimeout - the read/write timeout to honor on the host connectionconnectionId - a unique identifierpublic String getDescription()
public String getHostPort()
The format is "host:port".
public String getHost()
public String getPort()
public String getProtocol()
public String getCodePage()
public String getTimeout()
If the user did not specify a timeout, the default of 0 is returned.
String timeoutpublic String getConnectionId()
public static String generateId(String id)
If the supplied identifier is null or empty, then a unique identifier is generated.
id - the unique identifierpublic String getCesUrl()
Copyright © 2016–2026. All rights reserved.