|
| static | heartbeat_handler ($signo) |
| | Function to handle hear beats from the agent and send them to the scheduler from STDOUT. More...
|
| |
Definition at line 41 of file cyclonedx.php.
◆ computeUri()
| Fossology\CycloneDX\CycloneDXAgent::computeUri |
( |
|
$uploadId | ) |
|
|
protected |
For a given upload, compute the URI.
- Parameters
-
Definition at line 172 of file cyclonedx.php.
◆ generateFileComponents()
| Fossology\CycloneDX\CycloneDXAgent::generateFileComponents |
( |
|
$filesWithLicenses, |
|
|
|
$treeTableName, |
|
|
|
$uploadId, |
|
|
|
$itemTreeBounds |
|
) |
| |
|
protected |
Generate the components by files.
- Parameters
-
| FileNode[] | $filesWithLicenses | |
| string | $treeTableName | |
| int | $uploadId | |
- Returns
- array Components list
Definition at line 266 of file cyclonedx.php.
◆ getMimeType()
| Fossology\CycloneDX\CycloneDXAgent::getMimeType |
( |
|
$uploadId | ) |
|
|
protected |
Get the mime type of the upload.
- Returns
- string Mime type of the upload
Definition at line 370 of file cyclonedx.php.
◆ getUri()
| Fossology\CycloneDX\CycloneDXAgent::getUri |
( |
|
$fileBase | ) |
|
|
protected |
Get the URI for the given package.
- Parameters
-
| string | $fileBase | Name of the upload |
- Returns
- string URI for the upload
Definition at line 157 of file cyclonedx.php.
◆ processUploadId()
| Fossology\CycloneDX\CycloneDXAgent::processUploadId |
( |
|
$uploadId | ) |
|
◆ renderPackage()
| Fossology\CycloneDX\CycloneDXAgent::renderPackage |
( |
|
$uploadId | ) |
|
|
protected |
Given an upload id, render the report string.
- Parameters
-
- Returns
- array Rendered report string
Definition at line 188 of file cyclonedx.php.
◆ updateReportTable()
| Fossology\CycloneDX\CycloneDXAgent::updateReportTable |
( |
|
$uploadId, |
|
|
|
$jobId, |
|
|
|
$fileName |
|
) |
| |
|
protected |
Update the reportgen table with new report path.
- Parameters
-
| int | $uploadId | Upload id |
| int | $jobId | Job id |
| string | $fileName | File name of the report |
Definition at line 361 of file cyclonedx.php.
◆ writeReport()
| Fossology\CycloneDX\CycloneDXAgent::writeReport |
( |
|
$packageNodes, |
|
|
|
$uploadId |
|
) |
| |
|
protected |
Write the report the file and update report table.
- Parameters
-
| array | $packageNodes | |
| int | $uploadId | |
Definition at line 338 of file cyclonedx.php.
◆ $agentNames
| array Fossology\CycloneDX\CycloneDXAgent::$agentNames = AgentRef::AGENT_LIST |
|
protected |
◆ $clearingDao
| ClearingDao Fossology\CycloneDX\CycloneDXAgent::$clearingDao |
|
private |
◆ $dbManager
| DbManager Fossology\CycloneDX\CycloneDXAgent::$dbManager |
|
protected |
◆ $licenseDao
| LicenseDao Fossology\CycloneDX\CycloneDXAgent::$licenseDao |
|
private |
◆ $licenseMap
| LicenseMap Fossology\CycloneDX\CycloneDXAgent::$licenseMap |
|
private |
◆ $licensesInDocument
| SpdxLicenseInfo[] Fossology\CycloneDX\CycloneDXAgent::$licensesInDocument = [] |
|
private |
List of licenses found in the document.
Definition at line 94 of file cyclonedx.php.
◆ $outputFormat
| string Fossology\CycloneDX\CycloneDXAgent::$outputFormat = self::DEFAULT_OUTPUT_FORMAT |
|
protected |
◆ $reportGenerator
◆ $reportutils
| ReportUtils Fossology\CycloneDX\CycloneDXAgent::$reportutils |
|
private |
◆ $uploadDao
| UploadDao Fossology\CycloneDX\CycloneDXAgent::$uploadDao |
|
private |
◆ $uri
| string Fossology\CycloneDX\CycloneDXAgent::$uri |
|
protected |
The documentation for this class was generated from the following file: