public class AllMechanism extends Object implements Mechanism, ConfigurationEnabled
Constructor and Description |
---|
AllMechanism() |
Modifier and Type | Method and Description |
---|---|
DNSLookupContinuation |
checkSPF(SPFSession spfData)
Run check for SPF with the given values.
|
void |
config(Configuration params)
Configuration
|
String |
toString() |
public static final String REGEX
public DNSLookupContinuation checkSPF(SPFSession spfData) throws PermErrorException
SPFChecker
checkSPF
in interface SPFChecker
spfData
- The SPF1Data which should be used to run the checkPermErrorException
- Get thrown if an error was detectedSPFChecker.checkSPF(org.apache.james.jspf.core.SPFSession)
public void config(Configuration params) throws PermErrorException
ConfigurationEnabled
config
in interface ConfigurationEnabled
params
- the ConfigurationMatch which should usedPermErrorException
- get thrown if a PermError should returnedConfigurationEnabled.config(Configuration)
public String toString()
toString
in class Object
Object.toString()
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.