. */ declare(strict_types=1); namespace FireflyIII\Import\Routine; use FireflyIII\Exceptions\FireflyException; use FireflyIII\Models\ImportJob; /** * Interface RoutineInterface * @deprecated * @codeCoverageIgnore */ interface RoutineInterface { /** * At the end of each run(), the import routine must set the job to the expected status. * * The final status of the routine must be "provider_finished". * * @throws FireflyException */ public function run(): void; /** * Set the import job. * * @param ImportJob $importJob * * @return void */ public function setImportJob(ImportJob $importJob): void; }