|
|||||||||||||||||||
| Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
| IRunnerCleanable.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 | /** | |
| 10 | * A runner in a <code>CLEANABLE</code> state can be subject to state | |
| 11 | * clean-up. | |
| 12 | * | |
| 13 | * @author Francesco Russo (frusso@dev.java.net) | |
| 14 | * @version 4.0 | |
| 15 | * @since 1.0 | |
| 16 | */ | |
| 17 | interface IRunnerCleanable { | |
| 18 | /** | |
| 19 | * This method is invoked everytime an <code>IRunner</code> passes from | |
| 20 | * its <code>RUNNING</code> state to the | |
| 21 | * <code>REQUIRES_NEW_PARAMETERS</code> state.<br> | |
| 22 | * The concrete <code>IRunner</code> implementation is responsible for its | |
| 23 | * own clean-up. | |
| 24 | * | |
| 25 | * @return IRunnerClean | |
| 26 | */ | |
| 27 | public IRunnerClean clean(); | |
| 28 | } |
|
||||||||||