FOSSology
4.4.0
Open Source License Compliance by Open Source Software
|
Create UI plugin for ECC agent. More...
Public Member Functions | |
AgentHasResults ($uploadId=0) | |
AgentAdd ($jobId, $uploadId, &$errorMsg, $dependencies=[], $arguments=null, $request=null, $unpackArgs=null) | |
Public Member Functions inherited from Fossology\Lib\Plugin\AgentPlugin | |
execute () | |
postInstall () | |
preInstall () | |
unInstall () | |
getName () | |
__toString () | |
Protected Member Functions | |
isAgentIncluded ($dependencies, $agentName) | |
Protected Member Functions inherited from Fossology\Lib\Plugin\AgentPlugin | |
doAgentAdd ($jobId, $uploadId, &$errorMsg, $dependencies, $jqargs="", $jq_cmd_args=null, $request=null) | |
implicitAgentAdd ($jobId, $uploadId, &$errorMsg, $dependency, $request) | |
Additional Inherited Members | |
Public Attributes inherited from Fossology\Lib\Plugin\AgentPlugin | |
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 | |
Create UI plugin for ECC agent.
Definition at line 14 of file agent-ecc.php.
EccAgentPlugin::AgentAdd | ( | $jobId, | |
$uploadId, | |||
& | $errorMsg, | ||
$dependencies = [] , |
|||
$arguments = null , |
|||
$request = null , |
|||
$unpackArgs = null |
|||
) |
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 |
Reimplemented from Fossology\Lib\Plugin\AgentPlugin.
Definition at line 41 of file agent-ecc.php.
EccAgentPlugin::AgentHasResults | ( | $uploadId = 0 | ) |
int | $uploadId |
Reimplemented from Fossology\Lib\Plugin\AgentPlugin.
Definition at line 32 of file agent-ecc.php.
|
protected |
Check if agent already included in the dependency list
mixed | $dependencies | Array of job dependencies |
string | $agentName | Name of the agent to be checked for |
Definition at line 72 of file agent-ecc.php.