22 public function __construct() {
23 $this->Name =
"agent_unpack";
24 $this->Title = _(
"Schedule an Unpack");
25 $this->AgentName =
"ununpack";
27 parent::__construct();
36 return CheckARS($uploadId,
"ununpack",
"Archive unpacker",
"ununpack_ars");
43 public function AgentAdd($jobId, $uploadId, &$errorMsg, $dependencies=array(), $arguments=
null)
52 return $this->
doAgentAdd($jobId, $uploadId, $errorMsg, $dependencies, $uploadId, $arguments);
doAgentAdd($jobId, $uploadId, &$errorMsg, $dependencies, $jqargs="", $jq_cmd_args=null)
UI for ununpack agent to schedule a job.
AgentHasResults($uploadId=0)
AgentAdd($jobId, $uploadId, &$errorMsg, $dependencies=array(), $arguments=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.