Controller for report path.
More...
Controller for report path.
Definition at line 37 of file ReportController.php.
Fossology\UI\Api\Controllers\ReportController::buildDownloadPath |
( |
|
$request, |
|
|
|
$jobId |
|
) |
| |
|
private |
Generate the path to download URL based on current request and new Job id
- Parameters
-
ServerRequestInterface | $request | |
integer | $jobId | The new job id created by agent |
- Returns
- string The path to download the report
Definition at line 148 of file ReportController.php.
Fossology\UI\Api\Controllers\ReportController::checkReport |
( |
|
$id | ) |
|
|
private |
Fossology\UI\Api\Controllers\ReportController::getReport |
( |
|
$request, |
|
|
|
$response, |
|
|
|
$args |
|
) |
| |
Get the required report for the required upload
- Parameters
-
ServerRequestInterface | $request | |
ResponseInterface | $response | |
array | $args | |
- Returns
- ResponseInterface
Definition at line 60 of file ReportController.php.
Fossology\UI\Api\Controllers\ReportController::getUpload |
( |
|
$uploadId | ) |
|
|
private |
array Fossology\UI\Api\Controllers\ReportController::$reportsAllowed |
|
private |
Initial value:= array(
'dep5',
'spdx2',
'spdx2tv',
'readmeoss',
'unifiedreport'
)
Allowed agent names to create report
Definition at line 44 of file ReportController.php.
The documentation for this class was generated from the following file: