FOSSology  4.4.0
Open Source License Compliance by Open Source Software
ScanossAgentPlugin Class Reference

UI plugin of scanoss Agent. More...

Inheritance diagram for ScanossAgentPlugin:
Inheritance graph
Collaboration diagram for ScanossAgentPlugin:
Collaboration graph

Public Member Functions

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

Private Attributes

 $scanOssDesc = "Enables detection of both declared and undeclared open source components. SCANOSS Toolkit tracks new software versions and components in real time."
 

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

UI plugin of scanoss Agent.

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

Member Function Documentation

◆ AgentHasResults()

ScanossAgentPlugin::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 60 of file agent-scanoss.php.

◆ preInstall()

ScanossAgentPlugin::preInstall ( )

See also
Fossology::Lib::Plugin::AgentPlugin::preInstall()

Reimplemented from Fossology\Lib\Plugin\AgentPlugin.

Definition at line 69 of file agent-scanoss.php.

◆ renderContent()

ScanossAgentPlugin::renderContent ( $vars)

Render HTML from template.

Parameters
array$varsVariables using in template
Returns
string HTML rendered from agent_decider.html.twig template

Definition at line 50 of file agent-scanoss.php.


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