|
const | REPORT_KEY = "report" |
|
const | ACLA_KEY = "addConcludedAsDecisions" |
|
|
static | preWorkOnArgsFlp (&$args, $longArgsKey) |
|
static | getEntries ($fileId, $fileName, &$pfilePerFileName, &$hashMap=NULL, &$pfilesPerHash=NULL, $hashAlgo="sha1") |
|
static | getEntriesForFilename ($filename, &$pfilesPerFileName) |
|
static | getEntriesForHash (&$hashMap, &$pfilesPerHash, $hashAlgo) |
|
|
| $uploadDao |
|
| $userDao |
|
| $copyrightDao |
|
|
static | heartbeat_handler ($signo) |
| Function to handle hear beats from the agent and send them to the scheduler from STDOUT. More...
|
|
Definition at line 27 of file ReportImportAgent.php.
◆ getImportSource()
Fossology\ReportImport\ReportImportAgent::getImportSource |
( |
|
$reportFilename | ) |
|
|
private |
◆ preWorkOnArgsFlp()
static Fossology\ReportImport\ReportImportAgent::preWorkOnArgsFlp |
( |
& |
$args, |
|
|
|
$longArgsKey |
|
) |
| |
|
staticprivate |
- Parameters
-
string[] | $args | |
string | $longArgsKey | Duplicate of function in file ../../spdx2/agent/spdx2utils.php |
Definition at line 83 of file ReportImportAgent.php.
◆ processUploadId()
Fossology\ReportImport\ReportImportAgent::processUploadId |
( |
|
$uploadId | ) |
|
Given an upload ID, process the items in it.
This function is implemented by agent and should call heartbeat() at regular intervals.
- Parameters
-
int | $uploadId | Upload to be processed by the agent. |
- Returns
- bool Process status
Reimplemented from Fossology\Lib\Agent\Agent.
Definition at line 108 of file ReportImportAgent.php.
The documentation for this class was generated from the following file: