public function __construct() { $this->Name = "agent_dep5"; $this->Title = _("DEP5 copyright file generation"); $this->AgentName = "dep5"; parent::__construct(); }
public function __construct() { $this->Name = "agent_adj2nest"; $this->Title = 'adj2nest'; $this->AgentName = "adj2nest"; parent::__construct(); }
public function __construct() { $this->Name = "agent_readmeoss"; $this->Title = _("ReadMeOSS generation"); $this->AgentName = "readmeoss"; parent::__construct(); }
public function __construct() { $this->Name = "agent_bucket"; $this->Title = _("Bucket Analysis"); $this->AgentName = "buckets"; parent::__construct(); }
public function __construct() { $this->Name = "agent_copyright"; $this->Title = _("Copyright/Email/URL/Author Analysis"); $this->AgentName = "copyright"; parent::__construct(); }
public function __construct() { $this->Name = "agent_pkgagent"; $this->Title = _("Package Analysis (Parse package headers)"); $this->AgentName = "pkgagent"; parent::__construct(); }
public function __construct() { $this->Name = "agent_monk"; $this->Title = _("Monk License Analysis, scanning for licenses performing a text comparison"); $this->AgentName = "monk"; parent::__construct(); }
public function __construct() { $this->Name = "agent_nomos"; $this->Title = _("Nomos License Analysis, scanning for licenses using regular expressions"); $this->AgentName = "nomos"; parent::__construct(); }
public function __construct() { $this->Name = "agent_mimetype"; $this->Title = _("MIME-type Analysis (Determine mimetype of every file. Not needed for licenses or buckets)"); $this->AgentName = "mimetype"; parent::__construct(); }
public function __construct() { $this->Name = "agent_unpack"; $this->Title = _("Schedule an Unpack"); $this->AgentName = "ununpack"; parent::__construct(); }
function __construct() { $this->Name = "agent_deciderjob"; $this->Title = _("Automatic User License Decider"); $this->AgentName = AGENT_DECIDER_JOB_NAME; parent::__construct(); }
public function __construct() { $this->Name = "agent_spdx2"; $this->Title = _("SPDX2 generation"); $this->AgentName = "spdx2"; parent::__construct(); }
public function __construct() { $this->Name = "agent_monk_bulk"; $this->Title = _("Monk Bulk License Clearing"); $this->AgentName = "monkbulk"; parent::__construct(); }
public function __construct() { $this->Name = "agent_spdx2tv"; $this->Title = _("SPDX2 generation in Tag:Value format"); $this->AgentName = "spdx2tv"; parent::__construct(); }
public function __construct() { $this->Name = "agent_ninka"; $this->Title = _("Ninka License Analysis"); $this->AgentName = "ninka"; parent::__construct(); }
/** * @param int $jobId * @param int $uploadId * @param string $errorMsg * @param Request $request * @return string */ public function scheduleAgent($jobId, $uploadId, &$errorMsg, $request) { $dependencies = array(); $rules = $request->get('deciderRules') ?: array(); $rulebits = 0; foreach ($rules as $rule) { switch ($rule) { case 'nomosInMonk': $dependencies[] = 'agent_nomos'; $dependencies[] = 'agent_monk'; $rulebits |= 0x1; break; case 'nomosMonkNinka': $dependencies[] = 'agent_nomos'; $dependencies[] = 'agent_monk'; $dependencies[] = 'agent_ninka'; $rulebits |= 0x2; break; case 'reuseBulk': $dependencies[] = 'agent_reuser'; $rulebits |= 0x4; break; case 'wipScannerUpdates': $this->addScannerDependencies($dependencies, $request); $rulebits |= 0x8; } } if (empty($rulebits)) { return 0; } $args = self::RULES_FLAG . $rulebits; return parent::AgentAdd($jobId, $uploadId, $errorMsg, array_unique($dependencies), $args); }
public function doAgentAdd($jobId, $uploadId, &$errorMsg, $dependencies, $jqargs = "", $jq_cmd_args = null) { parent::doAgentAdd($jobId, $uploadId, $errorMsg, $dependencies, $jqargs, $jq_cmd_args); }