|
const | REUSE_FILE_SUFFIX = ".license" |
|
|
static | heartbeat_handler ($signo) |
| Function to handle hear beats from the agent and send them to the scheduler from STDOUT. More...
|
|
Definition at line 25 of file ResoAgent.php.
◆ __construct()
Fossology\Reso\ResoAgent::__construct |
( |
| ) |
|
◆ associateBaseFile()
Fossology\Reso\ResoAgent::associateBaseFile |
( |
|
$reSoUploadFiles, |
|
|
|
$uploadTreeTableName |
|
) |
| |
|
protected |
Find and associate base file to files containting license info.
- Parameters
-
array[] | $reSoUploadFiles | list of uploadtree objects to process |
string | $uploadTreeTableName | - uploadtree table for upload |
- Returns
- array[][] multi-dimensional array with license holding files with associated base files
Definition at line 102 of file ResoAgent.php.
◆ copyCopyrightFindings()
Fossology\Reso\ResoAgent::copyCopyrightFindings |
( |
|
$linkedFiles, |
|
|
|
$uploadId |
|
) |
| |
|
protected |
Copy copyright from .license file to base file.
- Parameters
-
array[][] | $linkedFiles | - multi-dimensional array with copyright holding files with associated base files |
int | $uploadId | |
- Returns
- true on success, Error on failure
Definition at line 182 of file ResoAgent.php.
◆ copyOjoFindings()
Fossology\Reso\ResoAgent::copyOjoFindings |
( |
|
$linkedFiles, |
|
|
|
$uploadId |
|
) |
| |
|
protected |
Copy license from licene holder to base file.
- Parameters
-
array[][] | $linkedFiles | - multi-dimensional array with license holding files with associated base files |
int | $uploadId | |
- Returns
- true on success, Error on failure
Definition at line 141 of file ResoAgent.php.
◆ findAssociatedFile()
Fossology\Reso\ResoAgent::findAssociatedFile |
( |
|
$row, |
|
|
|
$uploadTreeTableName |
|
) |
| |
|
protected |
Find associated base file.
- Parameters
-
array[] | $row | - uploadtree entry to process |
string | $uploadTreeTableName | - uploadtree table for upload |
- Returns
- array[] uploadtree entry containing base file for input param
Definition at line 121 of file ResoAgent.php.
◆ findReSoUploadFiles()
Fossology\Reso\ResoAgent::findReSoUploadFiles |
( |
|
$uploadId | ) |
|
|
protected |
Find all files with specific suffix.
- Parameters
-
- Returns
- array[] Array of uploadtree objects
Definition at line 82 of file ResoAgent.php.
◆ processUploadId()
Fossology\Reso\ResoAgent::processUploadId |
( |
|
$uploadId | ) |
|
◆ $agentDao
AgentDao Fossology\Reso\ResoAgent::$agentDao |
|
protected |
◆ $uploadDao
UploadDao Fossology\Reso\ResoAgent::$uploadDao |
|
private |
The documentation for this class was generated from the following file: