public function setJobData($totalSteps, $currentStep, $isComplete, $jobData, $messages)
 {
     parent::setJobData($totalSteps, $currentStep, $isComplete, $jobData, $messages);
     // Custom data
     $this->batchSize = $jobData->batchSize;
     $this->taskName = $jobData->taskName;
     $this->classes = $jobData->classes;
 }
 public function setJobData($totalSteps, $currentStep, $isComplete, $jobData, $messages)
 {
     parent::setJobData($totalSteps, $currentStep, $isComplete, $jobData, $messages);
     // Custom data
     $this->indexName = $jobData->indexName;
     $this->state = $jobData->state;
     $this->class = $jobData->class;
     $this->groups = $jobData->groups;
     $this->group = $jobData->group;
 }