public final class DefaultExplanationPolicy extends Object implements PolicyPostFilter
| Constructor and Description |
|---|
DefaultExplanationPolicy(Logger log,
String explanation,
MacroExpand macroExpand) |
| Modifier and Type | Method and Description |
|---|---|
SPF1Record |
getSPFRecord(String currentDomain,
SPF1Record spfRecord)
Filter or replace a record for the given domain
|
public DefaultExplanationPolicy(Logger log, String explanation, MacroExpand macroExpand)
log - the loggerexplanation - the default explanationmacroExpand - the MacroExpand servicepublic SPF1Record getSPFRecord(String currentDomain, SPF1Record spfRecord) throws PermErrorException, TempErrorException, NoneException, NeutralException
PolicyPostFiltergetSPFRecord in interface PolicyPostFiltercurrentDomain - the domain to retrieve the SPFRecord forspfRecord - the previous recordPermErrorException - exceptionTempErrorException - exceptionNoneException - exceptionNeutralException - exceptionPolicyPostFilter.getSPFRecord(java.lang.String, org.apache.james.jspf.core.SPF1Record)Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.