Class NoopWhoisEmailProvider

java.lang.Object
com.digicert.validation.methods.email.prepare.provider.NoopWhoisEmailProvider
All Implemented Interfaces:
EmailProvider, WhoisEmailProvider

public class NoopWhoisEmailProvider extends Object implements WhoisEmailProvider
A Noop provider that returns an empty set of emails. For the purpose of resolving unused dependencies. Consumers should provide an WhoisEmailProvider implementation. BasicWhoIsEmailProvider in the example-app for an example implementation.
  • Constructor Details

    • NoopWhoisEmailProvider

      public NoopWhoisEmailProvider()
      Default noop constructor.
  • Method Details

    • findEmailsForDomain

      public Set<String> findEmailsForDomain(String domain)
      Description copied from interface: EmailProvider
      Retrieves email contacts for the given domain.

      This method is responsible for obtaining a set of email addresses associated with the specified domain. The implementation should ensure that the email addresses returned are valid and relevant for the domain validation process.

      Specified by:
      findEmailsForDomain in interface EmailProvider
      Parameters:
      domain - the domain to retrieve email contacts for
      Returns:
      a set of email contacts for the domain