23 public function __construct() {
24 $this->Name =
"agent_unpack";
25 $this->Title = _(
"Schedule an Unpack");
26 $this->AgentName =
"ununpack";
28 parent::__construct();
37 return CheckARS($uploadId,
"ununpack",
"Archive unpacker",
"ununpack_ars");
44 public function AgentAdd($jobId, $uploadId, &$errorMsg, $dependencies=[],
45 $arguments=
null, $request=
null, $unpackArgs=
null)
54 return $this->
doAgentAdd($jobId, $uploadId, $errorMsg, $dependencies, $uploadId, $arguments, $request);
doAgentAdd($jobId, $uploadId, &$errorMsg, $dependencies, $jqargs="", $jq_cmd_args=null, $request=null)
UI for ununpack agent to schedule a job.
AgentHasResults($uploadId=0)
AgentAdd($jobId, $uploadId, &$errorMsg, $dependencies=[], $arguments=null, $request=null, $unpackArgs=null)
CheckARS($upload_pk, $AgentName, $AgentDesc, $AgentARSTableName)
Check the ARS table to see if an agent has successfully scanned an upload.
IsAlreadyScheduled($job_pk, $AgentName, $upload_pk)
Check if an agent is already scheduled in a job.