/**
  * @param KalturaBatchJob $job
  */
 public function __construct(KalturaBatchJob $job)
 {
     parent::__construct($job);
     if (KBatchBase::$taskConfig->params->allowServerResource) {
         $this->allowServerResource = (bool) KBatchBase::$taskConfig->params->allowServerResource;
     }
 }
 /**
  * @param KSchedularTaskConfig $taskConfig
  * @param KalturaClient $kClient
  * @param KalturaBatchJob $job
  */
 public function __construct(KSchedularTaskConfig $taskConfig, KalturaClient $kClient, KalturaBatchJob $job)
 {
     parent::__construct($taskConfig, $kClient, $job);
     $this->xsdFilePath = 'http://' . kConf::get('www_host') . '/api_v3/index.php/service/schema/action/serve/type/' . KalturaSchemaType::BULK_UPLOAD_XML;
     if ($taskConfig->params->xsdFilePath) {
         $this->xsdFilePath = $taskConfig->params->xsdFilePath;
     }
     if ($taskConfig->params->allowServerResource) {
         $this->allowServerResource = (bool) $taskConfig->params->allowServerResource;
     }
 }