Package org.apache.james.jspf.terms
Class AllMechanism
java.lang.Object
org.apache.james.jspf.terms.AllMechanism
- All Implemented Interfaces:
SPFChecker,ConfigurationEnabled,Mechanism
This class represent the all mechanism
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncheckSPF(SPFSession spfData) Run check for SPF with the given values.voidconfig(Configuration params) ConfigurationtoString()
-
Field Details
-
REGEX
- See Also:
-
-
Constructor Details
-
AllMechanism
public AllMechanism()
-
-
Method Details
-
checkSPF
Description copied from interface:SPFCheckerRun check for SPF with the given values.- Specified by:
checkSPFin interfaceSPFChecker- Parameters:
spfData- The SPF1Data which should be used to run the check- Throws:
PermErrorException- Get thrown if an error was detected- See Also:
-
config
Description copied from interface:ConfigurationEnabledConfiguration- Specified by:
configin interfaceConfigurationEnabled- Parameters:
params- the ConfigurationMatch which should used- Throws:
PermErrorException- get thrown if a PermError should returned- See Also:
-
toString
-