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) 2014 (original work) Open Assessment Technologies SA (under the project TAO-PRODUCT); |
19 | * |
20 | */ |
21 | |
22 | namespace oat\oatbox\task; |
23 | |
24 | /** |
25 | * @deprecated since version 7.10.0, to be removed in 8.0. Use \oat\tao\model\taskQueue\Task\TaskInterface instead. |
26 | */ |
27 | interface Task |
28 | { |
29 | public const STATUS_CREATED = 'created'; |
30 | public const STATUS_STARTED = 'started'; |
31 | public const STATUS_RUNNING = 'running'; |
32 | public const STATUS_FINISHED = 'finished'; |
33 | public const STATUS_ARCHIVED = 'archived'; |
34 | |
35 | public const TASK_CLASS = 'http://www.tao.lu/Ontologies/generis.rdf#TaskQueueTask'; |
36 | public const PROPERTY_LINKED_RESOURCE = 'http://www.tao.lu/Ontologies/generis.rdf#LinkedResource'; |
37 | public const PROPERTY_REPORT = 'http://www.tao.lu/Ontologies/generis.rdf#Report'; |
38 | |
39 | /** |
40 | * @deprecated since version 7.10.0, to be removed in 8.0. |
41 | */ |
42 | public function getLabel(); |
43 | |
44 | /** |
45 | * @deprecated since version 7.10.0, to be removed in 8.0. |
46 | */ |
47 | public function setType($type); |
48 | |
49 | /** |
50 | * @deprecated since version 7.10.0, to be removed in 8.0. |
51 | */ |
52 | public function getType(); |
53 | |
54 | /** |
55 | * @deprecated since version 7.10.0, to be removed in 8.0. |
56 | */ |
57 | public function setLabel($label); |
58 | |
59 | /** |
60 | * @deprecated since version 7.10.0, to be removed in 8.0. |
61 | */ |
62 | public function getCreationDate(); |
63 | |
64 | /** |
65 | * @deprecated since version 7.10.0, to be removed in 8.0. |
66 | */ |
67 | public function setCreationDate($creationDate); |
68 | |
69 | /** |
70 | * @deprecated since version 7.10.0, to be removed in 8.0. |
71 | */ |
72 | public function getStatus(); |
73 | |
74 | /** |
75 | * @deprecated since version 7.10.0, to be removed in 8.0. |
76 | */ |
77 | public function setStatus($status); |
78 | |
79 | /** |
80 | * @deprecated since version 7.10.0, to be removed in 8.0. |
81 | */ |
82 | public function getOwner(); |
83 | |
84 | /** |
85 | * @deprecated since version 7.10.0, to be removed in 8.0. |
86 | */ |
87 | public function setOwner($owner); |
88 | |
89 | /** |
90 | * @deprecated since version 7.10.0, to be removed in 8.0. |
91 | */ |
92 | public function getId(); |
93 | |
94 | /** |
95 | * @deprecated since version 7.10.0, to be removed in 8.0. |
96 | */ |
97 | public function setId($id); |
98 | |
99 | /** |
100 | * @deprecated since version 7.10.0, to be removed in 8.0. |
101 | */ |
102 | public function getInvocable(); |
103 | |
104 | /** |
105 | * @deprecated since version 7.10.0, to be removed in 8.0. |
106 | */ |
107 | public function setInvocable($invocable); |
108 | |
109 | /** |
110 | * @deprecated since version 7.10.0, to be removed in 8.0. |
111 | */ |
112 | public function getParameters(); |
113 | |
114 | /** |
115 | * @deprecated since version 7.10.0, to be removed in 8.0. |
116 | */ |
117 | public function setParameters(array $params); |
118 | |
119 | /** |
120 | * @deprecated since version 7.10.0, to be removed in 8.0. |
121 | */ |
122 | public function getReport(); |
123 | |
124 | /** |
125 | * @deprecated since version 7.10.0, to be removed in 8.0. |
126 | */ |
127 | public function setReport($report); |
128 | |
129 | /** |
130 | * @deprecated since version 7.10.0, to be removed in 8.0. |
131 | */ |
132 | public static function restore(array $data); |
133 | } |