33 public function __construct() {
34 $this->Name =
"agent_unpack";
35 $this->Title = _(
"Schedule an Unpack");
36 $this->AgentName =
"ununpack";
38 parent::__construct();
47 return CheckARS($uploadId,
"ununpack",
"Archive unpacker",
"ununpack_ars");
54 public function AgentAdd($jobId, $uploadId, &$errorMsg, $dependencies=array(), $arguments=null)
63 return $this->
doAgentAdd($jobId, $uploadId, $errorMsg, $dependencies, $uploadId, $arguments);
IsAlreadyScheduled($job_pk, $AgentName, $upload_pk)
Check if an agent is already scheduled in a job.
UI for ununpack agent to schedule a job.
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.
AgentHasResults($uploadId=0)
doAgentAdd($jobId, $uploadId, &$errorMsg, $dependencies, $jqargs="", $jq_cmd_args=null)