Class HostnamePortRequirement
java.lang.Object
com.cloudbees.plugins.credentials.domains.DomainRequirement
com.cloudbees.plugins.credentials.domains.HostnameRequirement
com.cloudbees.plugins.credentials.domains.HostnamePortRequirement
- All Implemented Interfaces:
ExtensionPoint
,Serializable
A requirement for a
Domain
that includes Credentials
for a
specific hostname and port combination.- Since:
- 1.5
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
ConstructorDescriptionHostnamePortRequirement
(String hostname, int port) Creates a new requirement. -
Method Summary
Methods inherited from class com.cloudbees.plugins.credentials.domains.HostnameRequirement
getHostname
-
Constructor Details
-
HostnamePortRequirement
Creates a new requirement.- Parameters:
hostname
- the host.port
- the port.
-
-
Method Details
-
getPort
public int getPort()Returns the required port.- Returns:
- the required port.
-