|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcdx.scorebot.scoring.ScoringCompiler
public class ScoringCompiler
compiles ScoreEvents into results information and also applies thresholding information
| Constructor Summary | |
|---|---|
ScoringCompiler(NetworkTestPackage config)
instantiates a scoring compiler |
|
ScoringCompiler(NetworkTestPackage config,
FlexLogger logger)
instantiates a scoring compiler |
|
| Method Summary | |
|---|---|
java.lang.String |
getThresholdMsg()
gets the message regarding thresholding |
boolean |
lastEventWasThresholded()
whether or not the last event processed triggered any thresholding |
int |
processNextTestEvent(TestEvent evt)
Process the next TestEvent (chronological order) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ScoringCompiler(NetworkTestPackage config)
throws LogicException,
ParseException
config - the configuration to score with
ParseException - occurs if a rule cannot be prepared
LogicException
public ScoringCompiler(NetworkTestPackage config,
FlexLogger logger)
throws LogicException,
ParseException
config - the configuration to score withlogger - stream to log to
ParseException - occurs if a rule cannot be prepared
LogicException| Method Detail |
|---|
public int processNextTestEvent(TestEvent evt)
throws com.thoughtworks.xstream.core.BaseException,
java.io.FileNotFoundException,
LogicException
evt - the TestEvent to process
BaseException - if any ScoreEvent cannot be serialized
FileNotFoundException - if the file exists but is a directory rather
than a regular file, does not exist but cannot
be created, or cannot be saved for any other reason
LogicException - occurs if a runtime error occurs in the scoring languagepublic boolean lastEventWasThresholded()
public java.lang.String getThresholdMsg()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||