Class CategoryAnalyzerDecision
- java.lang.Object
-
- com.novomind.ecom.api.imail.core.result.decision.AbstractAnalyzerDecision<Category>
-
- com.novomind.ecom.api.imail.core.result.decision.CategoryAnalyzerDecision
-
- All Implemented Interfaces:
AnalyzerDecision<Category>
,java.lang.Comparable<AnalyzerDecision<Category>>
public final class CategoryAnalyzerDecision extends AbstractAnalyzerDecision<Category>
AAnalyzerDecision
containing aCategory
. This is typically added to anIncomingMessageAnalyzerResult
if the contained category is suiteable for the analyzedIncomingMessage
.- Since:
- 11.15
-
-
Constructor Summary
Constructors Constructor Description CategoryAnalyzerDecision(Category category)
Constructs a CategoryAnalyzerDecision for a Category.CategoryAnalyzerDecision(Category category, double confidence)
Constructs a CategoryAnalyzerDecision for a Category 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
-
CategoryAnalyzerDecision
public CategoryAnalyzerDecision(Category category, double confidence)
Constructs a CategoryAnalyzerDecision for a Category with a confidence value.- Parameters:
category
- the Category which is the "value" of this AnalyzerDecisionconfidence
- the confidence value ranging from 0 to 100- Since:
- 11.15
-
CategoryAnalyzerDecision
public CategoryAnalyzerDecision(Category category)
Constructs a CategoryAnalyzerDecision for a Category.- Parameters:
category
- the Category which is the "value" of this AnalyzerDecision- Since:
- 11.15
-
-