|
| AgentAdd ($jobId, $uploadId, &$errorMsg, $dependencies=[], $arguments=null, $request=null, $unpackArgs=null) |
|
| AgentHasResults ($uploadId=0) |
|
| execute () |
|
| postInstall () |
|
| preInstall () |
|
| unInstall () |
|
| getName () |
|
| __toString () |
|
|
const | PRE_JOB_QUEUE = 'preJq' |
|
| $AgentName |
|
| $Name = "agent_abstract" |
|
| $Dependency = array() |
|
| $Title = 'how to show checkbox' |
|
| $PluginLevel = 10 |
|
| $State = PLUGIN_STATE_READY |
|
| $DBaccess = PLUGIN_DB_WRITE |
|
| doAgentAdd ($jobId, $uploadId, &$errorMsg, $dependencies, $jqargs="", $jq_cmd_args=null, $request=null) |
|
| implicitAgentAdd ($jobId, $uploadId, &$errorMsg, $dependency, $request) |
|
Definition at line 15 of file agent-compatibility.php.
◆ AgentAdd()
Fossology\Compatibility\Ui\CompatibilityAgentPlugin::AgentAdd |
( |
|
$jobId, |
|
|
|
$uploadId, |
|
|
& |
$errorMsg, |
|
|
|
$dependencies = [] , |
|
|
|
$arguments = null , |
|
|
|
$request = null , |
|
|
|
$unpackArgs = null |
|
) |
| |
- Parameters
-
int | $jobId | |
int | $uploadId | |
string | $errorMsg | - error message on failure |
array | $dependencies | - array of plugin names representing dependencies. |
mixed | $arguments | (ignored if not a string) |
Request | null | $request | Symfony request |
string | $unpackArgs | Ununpack args from adj2nest |
- Returns
- int
- jqId Successfully queued
- 0 Not queued, latest version of agent has previously run successfully
- -1 Not queued, error, error string in $ErrorMsg
Reimplemented from Fossology\Lib\Plugin\AgentPlugin.
Definition at line 32 of file agent-compatibility.php.
◆ AgentHasResults()
Fossology\Compatibility\Ui\CompatibilityAgentPlugin::AgentHasResults |
( |
|
$uploadId = 0 | ) |
|
◆ getCompatibilityDependencies()
Fossology\Compatibility\Ui\CompatibilityAgentPlugin::getCompatibilityDependencies |
( |
|
$request | ) |
|
|
private |
◆ $compDesc
Fossology\Compatibility\Ui\CompatibilityAgentPlugin::$compDesc |
|
private |
Initial value:= "Checks licenses found in a file and main license and " .
"adds red highlight to tree view if licenses fail compatibility rules"
Definition at line 18 of file agent-compatibility.php.
The documentation for this class was generated from the following file: