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) 2017 (original work) Open Assessment Technologies SA (under the project TAO-PRODUCT);
19 *
20 */
21
22namespace oat\tao\model\taskQueue\TaskLog\Entity;
23
24use common_report_Report as Report;
25use oat\tao\model\taskQueue\TaskLog\CategorizedStatus;
26
27/**
28 * @author Gyula Szucs <gyula@taotesting.com>
29 */
30interface EntityInterface extends \JsonSerializable
31{
32    /**
33     * @return string
34     */
35    public function getId();
36
37    /**
38     * @return string
39     */
40    public function getParentId();
41
42    /**
43     * @return string
44     */
45    public function getTaskName();
46
47    /**
48     * @return array
49     */
50    public function getParameters();
51
52    /**
53     * @return string
54     */
55    public function getLabel();
56
57    /**
58     * @return string
59     */
60    public function getOwner();
61
62    /**
63     * @return Report|null
64     */
65    public function getReport();
66
67    /**
68     * @return \DateTime|null
69     */
70    public function getCreatedAt();
71
72    /**
73     * @return \DateTime|null
74     */
75    public function getUpdatedAt();
76
77    /**
78     * @return CategorizedStatus
79     */
80    public function getStatus();
81
82    /**
83     * @return boolean
84     */
85    public function isMasterStatus();
86
87    /**
88     * @return string
89     */
90    public function getFileNameFromReport();
91
92    /**
93     * @return string
94     */
95    public function getResourceUriFromReport();
96
97    /**
98     * @return array
99     */
100    public function toArray();
101}