Class ConfiguredGreenMail
java.lang.Object
com.icegreen.greenmail.configuration.ConfiguredGreenMail
- All Implemented Interfaces:
GreenMailOperations
- Direct Known Subclasses:
GreenMail,GreenMailProxy
A version of GreenMailOperations that implements the configure() method.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidThis method can be used by child classes to apply the configuration that is stored in config.Configure GreenMail instance using the given configurationMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.icegreen.greenmail.base.GreenMailOperations
findReceivedMessages, getImap, getImaps, getManagers, getPop3, getPop3s, getReceivedMessages, getReceivedMessagesForDomain, getSmtp, getSmtps, getUserManager, isRunning, loadEmails, purgeEmailFromAllMailboxes, reset, setQuotaSupported, setUser, setUser, setUsers, start, stop, waitForIncomingEmail, waitForIncomingEmail
-
Constructor Details
-
ConfiguredGreenMail
public ConfiguredGreenMail()
-
-
Method Details
-
withConfiguration
Description copied from interface:GreenMailOperationsConfigure GreenMail instance using the given configuration- Specified by:
withConfigurationin interfaceGreenMailOperations- Parameters:
config- Configuration to use- Returns:
- self (for method chaining)
-
doConfigure
protected void doConfigure()This method can be used by child classes to apply the configuration that is stored in config.
-