|
| execute () |
|
| postInstall () |
|
| preInstall () |
|
| unInstall () |
|
| getName () |
|
| AgentHasResults ($uploadId=0) |
|
| AgentAdd ($jobId, $uploadId, &$errorMsg, $dependencies=array(), $arguments=null) |
|
| __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 |
|
Definition at line 21 of file AgentPlugin.php.
Fossology\Lib\Plugin\AgentPlugin::AgentAdd |
( |
|
$jobId, |
|
|
|
$uploadId, |
|
|
& |
$errorMsg, |
|
|
|
$dependencies = array() , |
|
|
|
$arguments = 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) |
- Returns
- int
- jqId Successfully queued
- 0 Not queued, latest version of agent has previously run successfully
- -1 Not queued, error, error string in $ErrorMsg
Definition at line 83 of file AgentPlugin.php.
Fossology\Lib\Plugin\AgentPlugin::AgentHasResults |
( |
|
$uploadId = 0 | ) |
|
- Parameters
-
- 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
Definition at line 67 of file AgentPlugin.php.
Fossology\Lib\Plugin\AgentPlugin::doAgentAdd |
( |
|
$jobId, |
|
|
|
$uploadId, |
|
|
& |
$errorMsg, |
|
|
|
$dependencies, |
|
|
|
$jqargs = "" , |
|
|
|
$jq_cmd_args = null |
|
) |
| |
|
protected |
- Parameters
-
int | $jobId | |
int | $uploadId | |
| &string | $errorMsg - error message on failure |
array | $dependencies | |
string | null | $jqargs | (optional) jobqueue.jq_args |
- Returns
- jqId Successfully queued
- 0 Not queued, latest version of agent has previously run successfully
- -1 Not queued, error, error string in $ErrorMsg
Definition at line 110 of file AgentPlugin.php.
Fossology\Lib\Plugin\AgentPlugin::getName |
( |
| ) |
|
Fossology\Lib\Plugin\AgentPlugin::implicitAgentAdd |
( |
|
$jobId, |
|
|
|
$uploadId, |
|
|
& |
$errorMsg, |
|
|
|
$dependency |
|
) |
| |
|
protected |
- Parameters
-
int | $jobId | |
int | $uploadId | |
| &string | $errorMsg |
mixed | $dependency | |
- Returns
- int
Definition at line 144 of file AgentPlugin.php.
The documentation for this class was generated from the following file: