org.jasen.core
Class AbstractTestResult
java.lang.Object
org.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
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 |
AbstractTestResult
public AbstractTestResult()
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