Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * This program is free software; you can redistribute it and/or |
| 5 | * modify it under the terms of the GNU General Public License |
| 6 | * as published by the Free Software Foundation; under version 2 |
| 7 | * of the License (non-upgradable). |
| 8 | * |
| 9 | * This program is distributed in the hope that it will be useful, |
| 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 | * GNU General Public License for more details. |
| 13 | * |
| 14 | * You should have received a copy of the GNU General Public License |
| 15 | * along with this program; if not, write to the Free Software |
| 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
| 17 | * |
| 18 | * Copyright (c) 2016 (original work) Open Assessment Technologies SA; |
| 19 | */ |
| 20 | |
| 21 | namespace oat\taoDelivery\model; |
| 22 | |
| 23 | use oat\taoDelivery\model\execution\DeliveryExecution; |
| 24 | |
| 25 | /** |
| 26 | * This service is used to feed the delivery container with the required data to run a test. |
| 27 | * |
| 28 | * @author Bertrand Chevrier <bertrand@taotesting.com> |
| 29 | */ |
| 30 | interface DeliveryContainerService |
| 31 | { |
| 32 | /** @deprecated */ |
| 33 | public const CONFIG_ID = 'taoDelivery/deliveryContainer'; |
| 34 | |
| 35 | public const SERVICE_ID = 'taoDelivery/deliveryContainer'; |
| 36 | |
| 37 | /** @deprecated */ |
| 38 | public const PROPERTY_RESULT_SERVER = 'http://www.tao.lu/Ontologies/TAODelivery.rdf#DeliveryResultServer'; |
| 39 | |
| 40 | /** |
| 41 | * Get the list of providers for the current execution |
| 42 | * @param DeliveryExecution $execution |
| 43 | * @return array the list of providers |
| 44 | */ |
| 45 | public function getProviders(DeliveryExecution $execution); |
| 46 | |
| 47 | /** |
| 48 | * Get the list of plugins for the current execution |
| 49 | * @param DeliveryExecution $execution |
| 50 | * @return array the list of plugins |
| 51 | */ |
| 52 | public function getPlugins(DeliveryExecution $execution); |
| 53 | |
| 54 | /** |
| 55 | * Get the container bootstrap |
| 56 | * @param DeliveryExecution $execution |
| 57 | * @return string the bootstrap |
| 58 | */ |
| 59 | public function getBootstrap(DeliveryExecution $execution); |
| 60 | |
| 61 | /** |
| 62 | * Get the test definition |
| 63 | * @param DeliveryExecution $execution |
| 64 | * @return string the test definition |
| 65 | */ |
| 66 | public function getTestDefinition(DeliveryExecution $execution); |
| 67 | |
| 68 | /** |
| 69 | * Get the test compilation |
| 70 | * @param DeliveryExecution $execution |
| 71 | * @return string the test compilation |
| 72 | */ |
| 73 | public function getTestCompilation(DeliveryExecution $execution); |
| 74 | } |