* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-interface UnitProducer extends Producer {
+interface UnitProducer extends Producer, Executor {
/**
- * Produces some work/test units and pushes them onto the queue
+ * Prepares the produces of some work/test units and pushes them onto the queue
*
+ * @param $stateInstance An instance of a Stateable instance
* @return void
*/
- function produceUnits ();
+ function prepareUnitProduction (Stateable $stateInstance);
}
// [EOF]