Class SendMailChecker
- java.lang.Object
-
- org.ametys.plugins.core.impl.checker.SendMailChecker
-
- All Implemented Interfaces:
ItemChecker
,Configurable
public class SendMailChecker extends Object implements ItemChecker, Configurable
Tests the connection to the mail box and sends an e-mail to the system administrator.
-
-
Constructor Summary
Constructors Constructor Description SendMailChecker()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
check(List<String> values)
Checks the validity of the parameters.void
configure(Configuration configuration)
-
-
-
Constructor Detail
-
SendMailChecker
public SendMailChecker()
-
-
Method Detail
-
configure
public void configure(Configuration configuration) throws ConfigurationException
- Specified by:
configure
in interfaceConfigurable
- Throws:
ConfigurationException
-
check
public void check(List<String> values) throws ItemCheckerTestFailureException
Description copied from interface:ItemChecker
Checks the validity of the parameters.- Specified by:
check
in interfaceItemChecker
- Parameters:
values
- the values to test- Throws:
ItemCheckerTestFailureException
- if the test failed
-
-