Definition at line 14 of file Agent.php.
◆ __construct()
Fossology\UI\Api\Models\Agent::__construct |
( |
|
$successfulAgents, |
|
|
|
$uploadId, |
|
|
|
$agentName, |
|
|
|
$currentAgentId, |
|
|
|
$currentAgentRev, |
|
|
|
$isAgentRunning |
|
) |
| |
- Parameters
-
integer | $agentId | |
string | $agentRev | |
string | $agentName | |
Definition at line 52 of file Agent.php.
◆ getAgentName()
Fossology\UI\Api\Models\Agent::getAgentName |
( |
| ) |
|
◆ getArray()
Fossology\UI\Api\Models\Agent::getArray |
( |
|
$version = ApiVersion::V1 | ) |
|
◆ getCurrentAgentId()
Fossology\UI\Api\Models\Agent::getCurrentAgentId |
( |
| ) |
|
- Returns
- integer
Definition at line 88 of file Agent.php.
◆ getCurrentAgentRev()
Fossology\UI\Api\Models\Agent::getCurrentAgentRev |
( |
| ) |
|
◆ getIsAgentRunning()
Fossology\UI\Api\Models\Agent::getIsAgentRunning |
( |
| ) |
|
◆ getJSON()
Fossology\UI\Api\Models\Agent::getJSON |
( |
|
$version = ApiVersion::V1 | ) |
|
JSON representation of current scannedLicense
- Parameters
-
- Returns
- string
Definition at line 115 of file Agent.php.
◆ getSuccessfulAgents()
Fossology\UI\Api\Models\Agent::getSuccessfulAgents |
( |
| ) |
|
◆ getUploadId()
Fossology\UI\Api\Models\Agent::getUploadId |
( |
| ) |
|
- Returns
- integer
Definition at line 72 of file Agent.php.
◆ setAgentName()
Fossology\UI\Api\Models\Agent::setAgentName |
( |
|
$agentName | ) |
|
◆ setCurrentAgentId()
Fossology\UI\Api\Models\Agent::setCurrentAgentId |
( |
|
$currentAgentId | ) |
|
◆ setCurrentAgentRev()
Fossology\UI\Api\Models\Agent::setCurrentAgentRev |
( |
|
$currentAgentRev | ) |
|
◆ setIsAgentRunning()
Fossology\UI\Api\Models\Agent::setIsAgentRunning |
( |
|
$isAgentRunning | ) |
|
◆ setSuccessfulAgents()
Fossology\UI\Api\Models\Agent::setSuccessfulAgents |
( |
|
$successfulAgents | ) |
|
◆ setUploadId()
Fossology\UI\Api\Models\Agent::setUploadId |
( |
|
$uploadId | ) |
|
◆ $agentName
string Fossology\UI\Api\Models\Agent::$agentName |
|
private |
◆ $currentAgentId
integer Fossology\UI\Api\Models\Agent::$currentAgentId |
|
private |
Current agent id
Definition at line 35 of file Agent.php.
◆ $currentAgentRev
string Fossology\UI\Api\Models\Agent::$currentAgentRev |
|
private |
Current agent's rev
Definition at line 40 of file Agent.php.
◆ $successfulAgents
array Fossology\UI\Api\Models\Agent::$successfulAgents |
|
private |
Successful agents
Definition at line 20 of file Agent.php.
◆ $uploadId
integer Fossology\UI\Api\Models\Agent::$uploadId |
|
private |
The documentation for this class was generated from the following file: