/**
  * Saves any additional input into the current task object if the task
  * class matches.
  *
  * @param	array				$submittedData: array containing the data submitted by the user
  * @param	tx_scheduler_Task	$task: reference to the current task object
  */
 public function saveAdditionalFields(array $submittedData, tx_scheduler_Task $task)
 {
     $task->setSite(\TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('Tx_Solr_Site', $submittedData['site']));
     $indexingConfigurations = array();
     if (!empty($submittedData['indexingConfigurations'])) {
         $indexingConfigurations = $submittedData['indexingConfigurations'];
     }
     $task->setIndexingConfigurationsToReIndex($indexingConfigurations);
 }