Call SPDX2 agent to generate report from UI.
More...
|
const | NAME = 'ui_spdx2' |
| Mod name of the plugin.
|
|
const | DEFAULT_OUTPUT_FORMAT = "spdx2" |
| Default report format.
|
|
const | PERMISSION = "permission" |
|
const | REQUIRES_LOGIN = "requiresLogin" |
|
const | ENABLE_MENU = "ENABLE_MENU" |
|
const | LEVEL = "level" |
|
const | DEPENDENCIES = "dependencies" |
|
const | INIT_ORDER = "initOrder" |
|
const | MENU_LIST = "menuList" |
|
const | MENU_ORDER = "menuOrder" |
|
const | MENU_TARGET = "menuTarget" |
|
const | TITLE = "title" |
|
|
| $outputFormat = self::DEFAULT_OUTPUT_FORMAT |
|
| $container |
|
| $renderer |
|
| $microMenu |
|
Call SPDX2 agent to generate report from UI.
Definition at line 20 of file SpdxTwoGeneratorUi.php.
◆ getJobAndJobqueue()
Fossology\SpdxTwo\UI\SpdxTwoGeneratorUi::getJobAndJobqueue |
( |
|
$groupId, |
|
|
|
$upload, |
|
|
|
$addUploads |
|
) |
| |
|
protected |
Get the Job ID and Job queue ID.
- Parameters
-
int | $groupId | |
Upload | $upload | |
array | $addUploads | |
- Exceptions
-
- Returns
- array JobID, JobQuqueID
Definition at line 138 of file SpdxTwoGeneratorUi.php.
◆ handle()
Fossology\SpdxTwo\UI\SpdxTwoGeneratorUi::handle |
( |
Request |
$request | ) |
|
|
protected |
◆ preInstall()
Fossology\SpdxTwo\UI\SpdxTwoGeneratorUi::preInstall |
( |
| ) |
|
◆ scheduleAgent()
Fossology\SpdxTwo\UI\SpdxTwoGeneratorUi::scheduleAgent |
( |
|
$groupId, |
|
|
|
$upload, |
|
|
|
$outputFormat = self::DEFAULT_OUTPUT_FORMAT , |
|
|
|
$addUploads = array() |
|
) |
| |
Schedules spdx agent to generate report based of outputFormat
- Parameters
-
int | $groupId | |
Upload | $upload | |
string | $outputFormat | |
array | $addUploads | |
- Returns
- array|number[] Job id and job queue id
- Exceptions
-
Definition at line 210 of file SpdxTwoGeneratorUi.php.
◆ uploadsAdd()
Fossology\SpdxTwo\UI\SpdxTwoGeneratorUi::uploadsAdd |
( |
|
$uploads | ) |
|
|
protected |
Add multiple uploads to the report.
- Parameters
-
array | $uploads | List of upload IDs |
- Returns
- string
Definition at line 122 of file SpdxTwoGeneratorUi.php.
◆ $outputFormat
string Fossology\SpdxTwo\UI\SpdxTwoGeneratorUi::$outputFormat = self::DEFAULT_OUTPUT_FORMAT |
|
protected |
The documentation for this class was generated from the following file: