public function configure(KSchedularTaskConfig $taskConfig, KalturaConvartableJobData $data)
 {
     parent::configure($taskConfig, $data);
     KalturaLog::info("taskConfig-->" . print_r($taskConfig, true) . "\ndata->" . print_r($data, true));
 }
 public function configure(KSchedularTaskConfig $taskConfig, KalturaConvartableJobData $data, KalturaClient $client)
 {
     parent::configure($taskConfig, $data, $client);
     $this->flavorParamsOutput = $data->flavorParamsOutput;
 }
 public function configure(KalturaConvartableJobData $data, KalturaBatchJob $job)
 {
     parent::configure($data, $job);
     $this->tmpFolder = KBatchBase::$taskConfig->params->localTempPath;
 }
 public function configure(KalturaConvartableJobData $data, KalturaBatchJob $job)
 {
     parent::configure($data, $job);
     $errStr = null;
     if (!KBatchBase::$taskConfig->params->InletArmadaUrl) {
         $errStr = "InletArmadaUrl";
     }
     if (!KBatchBase::$taskConfig->params->InletArmadaLogin) {
         if ($errStr) {
             $errStr .= ",InletArmadaLogin";
         } else {
             $errStr = "InletArmadaLogin";
         }
     }
     if (!KBatchBase::$taskConfig->params->InletArmadaPassword) {
         if ($errStr) {
             $errStr .= ",InletArmadaPassword";
         } else {
             $errStr = "InletArmadaPassword";
         }
     }
     if ($errStr) {
         throw new KOperationEngineException("Inlet failure: missing credentials - {$errStr}");
     }
     //, url(".$taskConfig->params->InletArmadaUrl."), login(."$taskConfig->params->InletArmadaLogin."),passw(".$taskConfig->params->InletArmadaPassword.")");
     /*		
     		$this->url =	$taskConfig->params->InletArmadaUrl;
     		$this->login =	$taskConfig->params->InletArmadaLogin;
     		$this->passw =	$taskConfig->params->InletArmadaPassword;
     		if($taskConfig->params->InletArmadaPriority)
     			$this->prio =	$taskConfig->params->InletArmadaPriority;
     		else
     			$this->prio = 5;
     */
 }
 public function configure(KSchedularTaskConfig $taskConfig, KalturaConvartableJobData $data, KalturaClient $client)
 {
     parent::configure($taskConfig, $data, $client);
     $this->taskConfig = $taskConfig;
     $errStr = null;
     if (!$taskConfig->params->InletArmadaUrl) {
         $errStr = "InletArmadaUrl";
     }
     if (!$taskConfig->params->InletArmadaLogin) {
         if ($errStr) {
             $errStr .= ",InletArmadaLogin";
         } else {
             $errStr = "InletArmadaLogin";
         }
     }
     if (!$taskConfig->params->InletArmadaPassword) {
         if ($errStr) {
             $errStr .= ",InletArmadaPassword";
         } else {
             $errStr = "InletArmadaPassword";
         }
     }
     if ($errStr) {
         throw new KOperationEngineException("Inlet failure: missing credentials - {$errStr}");
     }
     //, url(".$taskConfig->params->InletArmadaUrl."), login(."$taskConfig->params->InletArmadaLogin."),passw(".$taskConfig->params->InletArmadaPassword.")");
     /*		
     		$this->url =	$taskConfig->params->InletArmadaUrl;
     		$this->login =	$taskConfig->params->InletArmadaLogin;
     		$this->passw =	$taskConfig->params->InletArmadaPassword;
     		if($taskConfig->params->InletArmadaPriority)
     			$this->prio =	$taskConfig->params->InletArmadaPriority;
     		else
     			$this->prio = 5;
     */
     KalturaLog::info("taskConfig-->" . print_r($taskConfig, true) . "\ndata->" . print_r($data, true));
 }
 public function configure(KSchedularTaskConfig $taskConfig, KalturaConvartableJobData $data, KalturaClient $client)
 {
     parent::configure($taskConfig, $data, $client);
     $this->data = $data;
     $this->client = $client;
 }
 public function configure(KSchedularTaskConfig $taskConfig, KalturaConvartableJobData $data)
 {
     parent::configure($taskConfig, $data);
     $this->flavorParamsOutput = $data->flavorParamsOutput;
     KalturaLog::debug("document : this [" . print_r($this, true) . "]");
 }
 public function configure(KalturaConvartableJobData $data, KalturaBatchJob $job)
 {
     parent::configure($data, $job);
     KalturaLog::info("taskConfig-->" . print_r(KBatchBase::$taskConfig, true) . "\ndata->" . print_r($data, true));
 }
 public function configure(KSchedularTaskConfig $taskConfig, KalturaConvartableJobData $data)
 {
     parent::configure($taskConfig, $data);
     $this->tmpFolder = $taskConfig->params->localTempPath;
 }