Class TemplateAnalyzerDecision
- java.lang.Object
-
- com.novomind.ecom.api.imail.core.result.decision.AbstractAnalyzerDecision<MessageTemplate>
-
- com.novomind.ecom.api.imail.core.result.decision.TemplateAnalyzerDecision
-
- All Implemented Interfaces:
AnalyzerDecision<MessageTemplate>
,java.lang.Comparable<AnalyzerDecision<MessageTemplate>>
public final class TemplateAnalyzerDecision extends AbstractAnalyzerDecision<MessageTemplate>
AAnalyzerDecision
containing aMessageTemplate
. This is typically added to anIncomingMessageAnalyzerResult
if the containedMessageTemplate
is suitable for the analyzedIncomingMessage
.- Since:
- 12.31
-
-
Constructor Summary
Constructors Constructor Description TemplateAnalyzerDecision(MessageTemplate template)
Constructs aTemplateAnalyzerDecision
for aMessageTemplate
.TemplateAnalyzerDecision(MessageTemplate template, double confidence)
Constructs aTemplateAnalyzerDecision
for aMessageTemplate
with a confidence value.
-
Method Summary
-
Methods inherited from class com.novomind.ecom.api.imail.core.result.decision.AbstractAnalyzerDecision
canEquals, equals, get, getConfidence, hashCode, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.novomind.ecom.api.imail.core.result.decision.AnalyzerDecision
compareTo
-
-
-
-
Constructor Detail
-
TemplateAnalyzerDecision
public TemplateAnalyzerDecision(MessageTemplate template, double confidence)
Constructs aTemplateAnalyzerDecision
for aMessageTemplate
with a confidence value.- Parameters:
template
- theMessageTemplate
which is the "value" of this AnalyzerDecisionconfidence
- the confidence value ranging from 0 to 100- Since:
- 12.31
-
TemplateAnalyzerDecision
public TemplateAnalyzerDecision(MessageTemplate template)
Constructs aTemplateAnalyzerDecision
for aMessageTemplate
.- Parameters:
template
- theMessageTemplate
which is the "value" of this AnalyzerDecision- Since:
- 12.31
-
-