![]() |
FOSSology
3.2.0rc1
Open Source License Compliance by Open Source Software
|
Model to hold add settings for new scan. More...

Public Member Functions | |
| __construct ($analysis, $reuse, $decider) | |
| getArray () | |
| scheduleAgents ($folderId, $uploadId) | |
Private Member Functions | |
| prepareAgents () | |
| prepareReuser (Request &$request) | |
| prepareDecider (Request &$request) | |
Private Attributes | |
| $analysis | |
| $reuse | |
| $decider | |
Model to hold add settings for new scan.
Definition at line 38 of file ScanOptions.php.
| Fossology\UI\Api\Models\ScanOptions::__construct | ( | $analysis, | |
| $reuse, | |||
| $decider | |||
| ) |
ScanOptions constructor.
Definition at line 62 of file ScanOptions.php.
| Fossology\UI\Api\Models\ScanOptions::getArray | ( | ) |
Get ScanOptions elements as associative array
Definition at line 73 of file ScanOptions.php.
|
private |
Prepare agentsToAdd string based on Analysis settings.
Definition at line 120 of file ScanOptions.php.
|
private |
Prepare Request object based on Decider settings.
| Request | $request |
Definition at line 163 of file ScanOptions.php.
|
private |
Prepare Request object based on Reuser settings.
| Request | $request |
Definition at line 139 of file ScanOptions.php.
| Fossology\UI\Api\Models\ScanOptions::scheduleAgents | ( | $folderId, | |
| $uploadId | |||
| ) |
Schedule the agents for the given upload in the given folder based on current settings.
Definition at line 89 of file ScanOptions.php.
|
private |
Analysis settings
Definition at line 44 of file ScanOptions.php.
|
private |
Decider settings
Definition at line 54 of file ScanOptions.php.
|
private |
Reuser settings
Definition at line 49 of file ScanOptions.php.