|
| AgentHasResults ($uploadId=0) |
|
| AgentAdd ($jobId, $uploadId, &$errorMsg, $dependencies=array(), $arguments=null, $unpackArgs=null) |
|
| 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 |
|
The adj2nest UI agent plugin class
Definition at line 31 of file agent_adj2nest.php.
Adj2nestAgentPlugin::AgentAdd |
( |
|
$jobId, |
|
|
|
$uploadId, |
|
|
& |
$errorMsg, |
|
|
|
$dependencies = array() , |
|
|
|
$arguments = null , |
|
|
|
$unpackArgs = 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
- See also
- ::AgentAdd()
Definition at line 82 of file agent_adj2nest.php.
Adj2nestAgentPlugin::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
- See also
- ::AgentHasResults()
Definition at line 45 of file agent_adj2nest.php.
Adj2nestAgentPlugin::isAgentIncluded |
( |
|
$dependencies, |
|
|
|
$agentName |
|
) |
| |
|
protected |
Check if agent already included in the dependency list
- Parameters
-
mixed | $dependencies | Array of job dependencies |
string | $agentName | Name of the agent to be checked for |
- Returns
- boolean true if agent already in dependency list else false
Definition at line 108 of file agent_adj2nest.php.
The documentation for this class was generated from the following file: