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

Public Member Functions

 jobNotYetScheduled ($agentName, $uploadId)
 This function checks if the current job was not already scheduled, or did already fail (You can reschedule failed jobs) More...
 
- Public Member Functions inherited from Fossology\Lib\Plugin\DefaultPlugin
 __construct ($name, $parameters=array())
 
 getName ()
 
 getVersion ()
 
 getTitle ()
 
 isRequiresLogin ()
 
 getDependency ()
 
 getPluginLevel ()
 
 getDBaccess ()
 
 getState ()
 
 getInitOrder ()
 
 getNoMenu ()
 
 getResponse ()
 
 getObject ($name)
 
 preInstall ()
 
 postInstall ()
 
 unInstall ()
 
 execute ()
 
 isLoggedIn ()
 
 __get ($name)
 
 __toString ()
 

Public Attributes

const NAME = "upload_agent_options"
 
- Public Attributes inherited from Fossology\Lib\Plugin\DefaultPlugin
const PERMISSION = "permission"
 
const REQUIRES_LOGIN = "requiresLogin"
 
const ENABLE_MENU = "ENABLE_MENU"
 
const LEVEL = "level"
 
const DEPENDENCIES = "dependencies"
 
const INIT_ORDER = "initOrder"
 
const MENU_LIST = "menuList"
 
const MENU_ORDER = "menuOrder"
 
const MENU_TARGET = "menuTarget"
 
const TITLE = "title"
 

Protected Member Functions

 handle (Request $request)
 
- Protected Member Functions inherited from Fossology\Lib\Plugin\DefaultPlugin
 RegisterMenus ()
 Customize submenus.
 
 render ($templateName, $vars=null, $headers=null)
 
 getDefaultHeaders ()
 
 getDefaultVars ()
 
 mergeWithDefault ($vars)
 
 flushContent ($content)
 

Additional Inherited Members

- Protected Attributes inherited from Fossology\Lib\Plugin\DefaultPlugin
 $container
 
 $renderer
 
 $microMenu
 

Detailed Description

Definition at line 24 of file ajax-upload-agents.php.

Member Function Documentation

◆ handle()

AjaxUploadAgents::handle ( Request  $request)
protected
Parameters
Request$request
Returns
Response

Reimplemented from Fossology\Lib\Plugin\DefaultPlugin.

Definition at line 51 of file ajax-upload-agents.php.

◆ jobNotYetScheduled()

AjaxUploadAgents::jobNotYetScheduled (   $agentName,
  $uploadId 
)

This function checks if the current job was not already scheduled, or did already fail (You can reschedule failed jobs)

Parameters
$agentNameName of the agent as specified in the agents table
$uploadIdUpload identifier
Returns
true if the agent is not currently scheduled for this upload, else false

Definition at line 43 of file ajax-upload-agents.php.


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