/**
* Sets the reparser for this cron task
*
* @param string $reparser
*/
public function set_reparser($reparser)
{
$this->reparser_name = !isset($this->reparsers[$reparser]) ? $this->reparser_manager->find_reparser($reparser) : $reparser;
if ($this->resume_data === null) {
$this->reparser_manager->get_resume_data($this->reparser_name);
}
}