FOSSology  4.4.0
Open Source License Compliance by Open Source Software
softwareHeritageAgentPlugin Class Reference
Inheritance diagram for softwareHeritageAgentPlugin:
Inheritance graph
Collaboration diagram for softwareHeritageAgentPlugin:
Collaboration graph

Public Member Functions

 AgentHasResults ($uploadId=0)
 
- Public Member Functions inherited from Fossology\Lib\Plugin\AgentPlugin
 execute ()
 
 postInstall ()
 
 preInstall ()
 
 unInstall ()
 
 getName ()
 
 AgentAdd ($jobId, $uploadId, &$errorMsg, $dependencies=[], $arguments=null, $request=null, $unpackArgs=null)
 
 __toString ()
 

Private Attributes

 $shAgentDesc = "Checks if the current file (or files in an upload) has been published in Software Heritage or if it is genuinely part of the distribution."
 

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
 
- 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)
 

Detailed Description

Definition at line 14 of file agent-shagent.php.

Member Function Documentation

◆ AgentHasResults()

softwareHeritageAgentPlugin::AgentHasResults (   $uploadId = 0)

Parameters
int$uploadId
Returns
int
  • 0 = no or this agent can be re run multiple times
  • 1 = yes, from latest agent version
  • 2 = yes, from older agent version
See also
Fossology::Lib::Plugin::AgentPlugin::AgentHasResults()

Reimplemented from Fossology\Lib\Plugin\AgentPlugin.

Definition at line 32 of file agent-shagent.php.


The documentation for this class was generated from the following file: