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.void
config
(Configuration params) ConfigurationtoString()
-
Field Details
-
REGEX
- See Also:
-
-
Constructor Details
-
AllMechanism
public AllMechanism()
-
-
Method Details
-
checkSPF
Description copied from interface:SPFChecker
Run check for SPF with the given values.- Specified by:
checkSPF
in 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:ConfigurationEnabled
Configuration- Specified by:
config
in interfaceConfigurationEnabled
- Parameters:
params
- the ConfigurationMatch which should used- Throws:
PermErrorException
- get thrown if a PermError should returned- See Also:
-
toString
-