Class NoopWhoisEmailProvider
java.lang.Object
com.digicert.validation.methods.email.prepare.provider.NoopWhoisEmailProvider
- All Implemented Interfaces:
EmailProvider
,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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindEmailsForDomain
(String domain) Retrieves email contacts for the given domain.
-
Constructor Details
-
NoopWhoisEmailProvider
public NoopWhoisEmailProvider()Default noop constructor.
-
-
Method Details
-
findEmailsForDomain
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 interfaceEmailProvider
- Parameters:
domain
- the domain to retrieve email contacts for- Returns:
- a set of email contacts for the domain
-