![]() |
FOSSology
4.6.0
Open Source License Compliance by Open Source Software
|
UI plugin for DeciderAgent. More...


Public Member Functions | |
| renderContent (&$vars) | |
| Render HTML from template. More... | |
| renderFoot (&$vars) | |
| Render footer HTML. More... | |
| getScriptIncludes (&$vars) | |
| scheduleAgent ($jobId, $uploadId, &$errorMsg, $request) | |
| Schedule decider agent. More... | |
| preInstall () | |
| isSpacyInstalled () | |
Public Member Functions inherited from Fossology\Lib\Plugin\AgentPlugin | |
| execute () | |
| postInstall () | |
| unInstall () | |
| getName () | |
| AgentHasResults ($uploadId=0) | |
| AgentAdd ($jobId, $uploadId, &$errorMsg, $dependencies=[], $arguments=null, $request=null, $unpackArgs=null) | |
| __toString () | |
Public Attributes | |
| const | RULES_FLAG = "-r" |
| const | LICENSE_FLAG = "-t" |
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 | |
| addScannerDependencies (&$dependencies, Request $request) | |
| Add dependencies on DeciderAgent. More... | |
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) | |
Private Member Functions | |
| getLicenseTypeConf (Request $request) | |
UI plugin for DeciderAgent.
Definition at line 18 of file DeciderAgentPlugin.php.
|
protected |
Add dependencies on DeciderAgent.
| array | $dependencies | |
| Request | $request |
Definition at line 166 of file DeciderAgentPlugin.php.
|
private |
Get license type for decision from request.
| Request | $request | Symfony Request |
Definition at line 197 of file DeciderAgentPlugin.php.
| DeciderAgentPlugin::isSpacyInstalled | ( | ) |
Check if spacy is installed?
Definition at line 213 of file DeciderAgentPlugin.php.
| DeciderAgentPlugin::preInstall | ( | ) |
Reimplemented from Fossology\Lib\Plugin\AgentPlugin.
Definition at line 187 of file DeciderAgentPlugin.php.
| DeciderAgentPlugin::renderContent | ( | & | $vars | ) |
Render HTML from template.
| array | $vars | Variables using in template |
Definition at line 38 of file DeciderAgentPlugin.php.
| DeciderAgentPlugin::renderFoot | ( | & | $vars | ) |
Render footer HTML.
| array | $vars | Variables using in template |
Definition at line 58 of file DeciderAgentPlugin.php.
| DeciderAgentPlugin::scheduleAgent | ( | $jobId, | |
| $uploadId, | |||
| & | $errorMsg, | ||
| $request | |||
| ) |
Schedule decider agent.
| int | $jobId | |
| int | $uploadId | |
| string | $errorMsg | |
| Request | $request | Session request |
Definition at line 76 of file DeciderAgentPlugin.php.