1 | <?php |
||
33 | class Queue extends AbstractEntity |
||
34 | { |
||
35 | /** |
||
36 | * @var array |
||
37 | */ |
||
38 | protected $row; |
||
39 | |||
40 | /** |
||
41 | * @var int |
||
42 | */ |
||
43 | protected $qid = 0; |
||
44 | |||
45 | /** |
||
46 | * @var int |
||
47 | */ |
||
48 | protected $pageId = 0; |
||
49 | |||
50 | /** |
||
51 | * @var string |
||
52 | */ |
||
53 | protected $parameters = ''; |
||
54 | |||
55 | /** |
||
56 | * @var string |
||
57 | */ |
||
58 | protected $parametersHash = ''; |
||
59 | |||
60 | /** |
||
61 | * @var string |
||
62 | */ |
||
63 | protected $configurationHash = ''; |
||
64 | |||
65 | /** |
||
66 | * @var bool |
||
67 | */ |
||
68 | protected $scheduled = false; |
||
69 | |||
70 | /** |
||
71 | * @var int |
||
72 | */ |
||
73 | protected $execTime = 0; |
||
74 | |||
75 | /** |
||
76 | * @var int |
||
77 | */ |
||
78 | protected $setId = 0; |
||
79 | |||
80 | /** |
||
81 | * @var string |
||
82 | */ |
||
83 | protected $resultData = ''; |
||
84 | |||
85 | /** |
||
86 | * @var bool |
||
87 | */ |
||
88 | protected $processScheduled = false; |
||
89 | |||
90 | /** |
||
91 | * @var string |
||
92 | */ |
||
93 | protected $processId = ''; |
||
94 | |||
95 | /** |
||
96 | * @var string |
||
97 | */ |
||
98 | protected $processIdCompleted = ''; |
||
99 | |||
100 | /** |
||
101 | * @var string |
||
102 | */ |
||
103 | protected $configuration = ''; |
||
104 | |||
105 | /** |
||
106 | * @param array $row |
||
107 | */ |
||
108 | 8 | public function __construct($row = []) |
|
112 | |||
113 | /** |
||
114 | * Returns the properties of the object as array |
||
115 | * |
||
116 | * @return array |
||
117 | * @deprecated since crawler v6.2.2, will be removed in crawler v7.0.0. |
||
118 | */ |
||
119 | public function getRow() |
||
120 | { |
||
121 | return $this->row; |
||
122 | } |
||
123 | |||
124 | /** |
||
125 | * @return int |
||
126 | */ |
||
127 | 6 | public function getQid() |
|
131 | |||
132 | /** |
||
133 | * @param int $qid |
||
134 | */ |
||
135 | 6 | public function setQid($qid) |
|
139 | |||
140 | /** |
||
141 | * @return int |
||
142 | */ |
||
143 | 1 | public function getPageId() |
|
147 | |||
148 | /** |
||
149 | * @param int $pageId |
||
150 | */ |
||
151 | 6 | public function setPageId($pageId) |
|
155 | |||
156 | /** |
||
157 | * @return string |
||
158 | */ |
||
159 | 1 | public function getParameters() |
|
163 | |||
164 | /** |
||
165 | * @param string $parameters |
||
166 | */ |
||
167 | 6 | public function setParameters($parameters) |
|
171 | |||
172 | /** |
||
173 | * @return string |
||
174 | */ |
||
175 | 1 | public function getParametersHash() |
|
179 | |||
180 | /** |
||
181 | * @param string $parametersHash |
||
182 | */ |
||
183 | 6 | public function setParametersHash($parametersHash) |
|
187 | |||
188 | /** |
||
189 | * @return string |
||
190 | */ |
||
191 | 1 | public function getConfigurationHash() |
|
195 | |||
196 | /** |
||
197 | * @param string $configurationHash |
||
198 | */ |
||
199 | 6 | public function setConfigurationHash($configurationHash) |
|
203 | |||
204 | /** |
||
205 | * @return bool |
||
206 | */ |
||
207 | 1 | public function isScheduled() |
|
211 | |||
212 | /** |
||
213 | * @param bool $scheduled |
||
214 | */ |
||
215 | 6 | public function setScheduled($scheduled) |
|
219 | |||
220 | /** |
||
221 | * @return int |
||
222 | */ |
||
223 | 3 | public function getExecTime() |
|
227 | |||
228 | /** |
||
229 | * @param int $execTime |
||
230 | */ |
||
231 | 8 | public function setExecTime($execTime) |
|
235 | |||
236 | /** |
||
237 | * @return int |
||
238 | */ |
||
239 | 1 | public function getSetId() |
|
243 | |||
244 | /** |
||
245 | * @param int $setId |
||
246 | */ |
||
247 | 6 | public function setSetId($setId) |
|
251 | |||
252 | /** |
||
253 | * @return string |
||
254 | */ |
||
255 | 1 | public function getResultData() |
|
259 | |||
260 | /** |
||
261 | * @param string $resultData |
||
262 | */ |
||
263 | 6 | public function setResultData($resultData) |
|
267 | |||
268 | /** |
||
269 | * @return bool |
||
270 | */ |
||
271 | 1 | public function isProcessScheduled() |
|
275 | |||
276 | /** |
||
277 | * @param bool $processScheduled |
||
278 | */ |
||
279 | 6 | public function setProcessScheduled($processScheduled) |
|
283 | |||
284 | /** |
||
285 | * @return string |
||
286 | */ |
||
287 | 3 | public function getProcessId() |
|
291 | |||
292 | /** |
||
293 | * @param string $processId |
||
294 | */ |
||
295 | 6 | public function setProcessId($processId) |
|
299 | |||
300 | /** |
||
301 | * @return string |
||
302 | */ |
||
303 | 1 | public function getProcessIdCompleted() |
|
307 | |||
308 | /** |
||
309 | * @param string $processIdCompleted |
||
310 | */ |
||
311 | 6 | public function setProcessIdCompleted($processIdCompleted) |
|
315 | |||
316 | /** |
||
317 | * @return string |
||
318 | */ |
||
319 | 6 | public function getConfiguration() |
|
323 | |||
324 | /** |
||
325 | * @param string $configuration |
||
326 | */ |
||
327 | 6 | public function setConfiguration($configuration) |
|
331 | } |
||
332 |