|
JTR 5.0 API Documentation | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjtr.test.impl.HeadlessTestCompletionListener
public class HeadlessTestCompletionListener
Constructor Summary | |
---|---|
HeadlessTestCompletionListener()
|
Method Summary | |
---|---|
void |
addNode(NodeInfo node)
Adds a JTR-node to the set of nodes from which results are expected. |
void |
notifyTestCompletion(NodeInfo node,
TestOutcomeTable outcome)
Notifies the completion of a JTR-test session coming form the given JTR-node. |
void |
provideFeedback(int testRuns,
int remoteNodesNumber,
int totalRuns)
This method causes this interface implementation to show a feedback to the user, concerning the execution of the test. |
protected java.util.Map<NodeInfo,TestOutcomeTable> |
purgeOutcomes(NodeInfo node,
TestOutcomeTable outcome)
|
protected void |
showResults(NodeInfo node,
TestOutcomeTable outcome)
|
void |
updateLocalEpochs(int progress)
This method updates the feedback provided to the user as far as local epochs completion is concerned. |
void |
updateLocalRuns()
This method updates the feedback provided to the user as far as local runs completion is concerned. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HeadlessTestCompletionListener()
Method Detail |
---|
public void notifyTestCompletion(NodeInfo node, TestOutcomeTable outcome)
notifyTestCompletion
in interface ITestCompletionListener
node
- The JTR-node that produced the outcomesoutcome
- The results produced by the JTR-nodepublic void addNode(NodeInfo node)
addNode
in interface ITestCompletionListener
node
- The that should produce resultspublic void provideFeedback(int testRuns, int remoteNodesNumber, int totalRuns)
provideFeedback
in interface ITestCompletionListener
testRuns
- The number of epochs required by the test-suiteremoteNodesNumber
- The number of nodes involved in the JTR test-sessiontotalRuns
- The overall number of runs each epoch will consist ofpublic void updateLocalEpochs(int progress)
updateLocalEpochs
in interface ITestCompletionListener
progress
- The number of started local epochspublic void updateLocalRuns()
updateLocalRuns
in interface ITestCompletionListener
protected void showResults(NodeInfo node, TestOutcomeTable outcome)
protected java.util.Map<NodeInfo,TestOutcomeTable> purgeOutcomes(NodeInfo node, TestOutcomeTable outcome)
|
The JTR Project is licensed under GPL version 2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |