|
|||||||||||||||||||
| Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
| TestOutcomeCollector.java | - | - | - | - |
|
||||||||||||||
| 1 | /** | |
| 2 | * JTRunner is free software; you can redistribute it and/or modify it under the | |
| 3 | * terms of the GNU General Public License as published by the Free Software | |
| 4 | * Foundation; either version 2, or (at your option) any later version. | |
| 5 | */ | |
| 6 | ||
| 7 | package jtr.remote.test; | |
| 8 | ||
| 9 | import java.rmi.Remote; | |
| 10 | import java.rmi.RemoteException; | |
| 11 | import jtr.test.TestOutcomeTable; | |
| 12 | ||
| 13 | /** | |
| 14 | * This interface defines the contract exposed by a JTR-service in charge of | |
| 15 | * collecting test-outcomes originated at remote JTR-nodes. | |
| 16 | * | |
| 17 | * @author frusso | |
| 18 | * @version 4.0 | |
| 19 | * @since 4.0 | |
| 20 | */ | |
| 21 | public interface TestOutcomeCollector extends Remote { | |
| 22 | /** | |
| 23 | * Provide the <i>collector</i> with a new JTR-test outcome, along with the | |
| 24 | * description of the originating node. | |
| 25 | * | |
| 26 | * @param srcJtrNode The originating JTR-node | |
| 27 | * @param outcome The test outcome | |
| 28 | * @throws java.rmi.RemoteException | |
| 29 | */ | |
| 30 | public void provideTestOutcome(NodeInfo srcJtrNode, TestOutcomeTable outcome) throws RemoteException; | |
| 31 | } |
|
||||||||||