Class HostnameSpecification

    • Constructor Detail

      • HostnameSpecification

        @DataBoundConstructor
        public HostnameSpecification​(@CheckForNull
                                     String includes,
                                     @CheckForNull
                                     String excludes)
        Constructor for stapler.
        Parameters:
        includes - Hostnames to match. A comma separated set of hostname with * wildcards supported. null signifies include everything.
        excludes - Hostnames to explicitly not match. A comma separated set of hostname with * wildcards supported. null signifies exclude nothing.
    • Method Detail

      • getIncludes

        @CheckForNull
        public String getIncludes()
        Returns the hostnames to match. A comma separated set of hostname with * wildcards supported. null signifies include everything.
        Returns:
        the hostnames to match.
      • getExcludes

        @CheckForNull
        public String getExcludes()
        Returns the hostnames to explicitly not match. A comma separated set of hostname with * wildcards supported. null signifies include everything.
        Returns:
        the hostnames to explicitly not match.