Controller for Maintenance model.
More...
Controller for Maintenance model.
Controller for report path.
Valid status inputs
Definition at line 42 of file ReportController.php.
◆ buildDownloadPath()
static Fossology\UI\Api\Controllers\ReportController::buildDownloadPath |
( |
|
$request, |
|
|
|
$jobId |
|
) |
| |
|
static |
Generate the path to download URL based on current request and new Job id
- Parameters
-
SlimRequest | $request | |
integer | $jobId | The new job id created by agent |
- Returns
- string The path to download the report
Definition at line 180 of file ReportController.php.
◆ checkReport()
Fossology\UI\Api\Controllers\ReportController::checkReport |
( |
|
$id | ) |
|
|
private |
Check if a report is scheduled with the given job id
- Parameters
-
- Returns
- boolean
- Exceptions
-
Definition at line 242 of file ReportController.php.
◆ getUpload()
Fossology\UI\Api\Controllers\ReportController::getUpload |
( |
|
$uploadId | ) |
|
|
private |
◆ $importAllowed
string[] Fossology\UI\Api\Controllers\ReportController::$importAllowed |
|
private |
Initial value:= [
'decisionimporter',
'spdxrdf'
]
Allowed report types to be imported.
Definition at line 64 of file ReportController.php.
◆ $reportsAllowed
array Fossology\UI\Api\Controllers\ReportController::$reportsAllowed |
|
private |
Initial value:= array(
'dep5',
'spdx2',
'spdx2tv',
'readmeoss',
'unifiedreport',
'clixml',
'decisionexporter',
'cyclonedx'
)
Allowed agent names to create report
Definition at line 49 of file ReportController.php.
The documentation for this class was generated from the following file: