Class RoutingTagAnalyzerDecision
java.lang.Object
com.novomind.ecom.api.imail.core.result.decision.AbstractAnalyzerDecision<RoutingTag>
com.novomind.ecom.api.imail.core.result.decision.RoutingTagAnalyzerDecision
- All Implemented Interfaces:
AnalyzerDecision<RoutingTag>,Comparable<AnalyzerDecision<RoutingTag>>
A
AnalyzerDecision containing a RoutingTag.
This is typically added to an IncomingMessageAnalyzerResult- Since:
- 13.2
-
Constructor Summary
ConstructorsConstructorDescriptionRoutingTagAnalyzerDecision(RoutingTag routingTag) Constructs aRoutingTagAnalyzerDecisionfor aRoutingTag.RoutingTagAnalyzerDecision(RoutingTag routingTag, double confidence) Constructs aRoutingTagAnalyzerDecisionfor aRoutingTagwith a confidence value. -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(AnalyzerDecision<RoutingTag> other) If compared with objects of the same class the comparison is based on the value returned byAnalyzerDecision.getConfidence()(high values first) otherwise based on the name of the class.
Return 0 for Decisions which are equal.Methods inherited from class com.novomind.ecom.api.imail.core.result.decision.AbstractAnalyzerDecision
canEquals, equals, get, getConfidence, hashCode, toString
-
Constructor Details
-
RoutingTagAnalyzerDecision
Constructs aRoutingTagAnalyzerDecisionfor aRoutingTagwith a confidence value.- Parameters:
routingTag- theRoutingTagwhich is the "value" of this AnalyzerDecisionconfidence- the confidence value ranging from 0 to 100- Since:
- 13.2
-
RoutingTagAnalyzerDecision
Constructs aRoutingTagAnalyzerDecisionfor aRoutingTag.- Parameters:
routingTag- theRoutingTagwhich is the "value" of this AnalyzerDecision- Since:
- 13.2
-
-
Method Details
-
compareTo
Description copied from interface:AnalyzerDecisionIf compared with objects of the same class the comparison is based on the value returned byAnalyzerDecision.getConfidence()(high values first) otherwise based on the name of the class.
Return 0 for Decisions which are equal.
-