|
|||||||||||||||||||
Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
IRunnerParameterized.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.runners; | |
8 | ||
9 | import jtr.pool.RunnerPool; | |
10 | ||
11 | /** | |
12 | * This interface represents runners in the <code>PARAMETERIZED</code> state.<br> | |
13 | * Each runner in such a state is already assigneable to a pool but it is not | |
14 | * actually belonging to any pool.<br> | |
15 | * The next allowed state is <code>POOLED</code>. | |
16 | * | |
17 | * @author Francesco Russo (frusso@dev.java.net) | |
18 | * @version 4.0 | |
19 | * @since 1.0 | |
20 | */ | |
21 | public interface IRunnerParameterized extends IRunnerClean, IRunnerCleanable { | |
22 | ||
23 | /** | |
24 | * Assign the current <code>IRunnerParameterized</code> to the given pool. | |
25 | * | |
26 | * @param pool | |
27 | * RunnerPool | |
28 | * @return IRunnerPooled | |
29 | */ | |
30 | public IRunnerPooled setPool(RunnerPool pool); | |
31 | ||
32 | /** | |
33 | * This method starts the execution of the runner. | |
34 | */ | |
35 | public void run(); | |
36 | } |
|