org.jasen.core
Class AbstractTestResult

java.lang.Object
  extended byorg.jasen.core.AbstractTestResult
All Implemented Interfaces:
JasenTestResult, Serializable
Direct Known Subclasses:
MultiPointTestResult, PointTestResult, ProbabilityTestResult

public abstract class AbstractTestResult
extends Object
implements JasenTestResult

Base class for test results.

Author:
Jason Polites
See Also:
Serialized Form

Constructor Summary
AbstractTestResult()
           
 
Method Summary
 boolean isAbsolute()
          Returns true if this test absolutely, categorically, undeniably indicates spam
 void setAbsolute(boolean absolute)
          Sets the absolute value for this result
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jasen.interfaces.JasenTestResult
calculateProbability
 

Constructor Detail

AbstractTestResult

public AbstractTestResult()
Method Detail

isAbsolute

public boolean isAbsolute()
Description copied from interface: JasenTestResult
Returns true if this test absolutely, categorically, undeniably indicates spam

Specified by:
isAbsolute in interface JasenTestResult
Returns:

setAbsolute

public void setAbsolute(boolean absolute)
Sets the absolute value for this result

Parameters:
absolute - If true, this test result is considered absolute and all other results are abandoned
See Also:
JasenTestResult