Class HostnameRequirement

java.lang.Object
com.cloudbees.plugins.credentials.domains.DomainRequirement
com.cloudbees.plugins.credentials.domains.HostnameRequirement
All Implemented Interfaces:
ExtensionPoint, Serializable
Direct Known Subclasses:
HostnamePortRequirement

public class HostnameRequirement extends DomainRequirement
A requirement for a Domain that includes Credentials for a specific hostname.
Since:
1.5
See Also:
  • Constructor Details

    • HostnameRequirement

      public HostnameRequirement(@CheckForNull String hostname)
      Creates a new requirement.
      Parameters:
      hostname - the host.
  • Method Details

    • getHostname

      @CheckForNull public String getHostname()
      Returns the hostname.
      Returns:
      the hostname.