Ejemplo n.º 1
0
 /**
  * @param string $jobType
  * @param string $jobName
  * @return JobResult
  */
 protected function executePostProcessingJob($jobType, $jobName)
 {
     $clearSkipped = $this->jobExecutor->isSkipClear();
     $this->jobExecutor->setSkipClear(true);
     $jobResult = $this->jobExecutor->executeJob($jobType, $jobName, $this->getJobConfiguration());
     $this->jobExecutor->setSkipClear($clearSkipped);
     return $jobResult;
 }
Ejemplo n.º 2
0
 public function testSkipClear()
 {
     $this->assertFalse($this->executor->isSkipClear());
     $this->executor->setSkipClear(true);
     $this->assertTrue($this->executor->isSkipClear());
 }