|
|||||||||||||||||||
| Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
| IAssignmentPolicy.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.assigner; | |
| 8 | ||
| 9 | /** | |
| 10 | * This interface defines what an assignment policy is in the JTR framework. An | |
| 11 | * assignment policy is simply in charge of producing concrete | |
| 12 | * <code>IParamsAssigner</code> instances. Every | |
| 13 | * <code>IAssignmentPolicy</code> concrete instance is only obtainable by | |
| 14 | * means of an appropriate <code>IAssignmentPolicyFactory</code>. | |
| 15 | * | |
| 16 | * @author Francesco Russo (frusso@dev.java.net) | |
| 17 | * @version 4.0 | |
| 18 | * @since 1.0 | |
| 19 | * @see jtr.assigner.IAssignmentPolicyFactory | |
| 20 | * @see jtr.assigner.IParamsAssigner | |
| 21 | */ | |
| 22 | public interface IAssignmentPolicy { | |
| 23 | /** | |
| 24 | * Returns the concrete instance of the class in charge of performing the | |
| 25 | * parameters assignment task under the control of both the | |
| 26 | * <code>TestRunManager</code> and <code>AbstractRunner</code> JTR | |
| 27 | * components. | |
| 28 | * | |
| 29 | * @return IParamsAssigner The concrete assigner | |
| 30 | */ | |
| 31 | public IParamsAssigner getAssigner(); | |
| 32 | } |
|
||||||||||