Public Member Functions | |
| __construct (FactoryInterface $storeFactory) | |
| getAllHarvestIds () | |
| getHarvestPlan ($plan_id) | |
| registerHarvest ($plan) | |
| deregisterHarvest (string $id) | |
| revertHarvest ($id) | |
| runHarvest ($id) | |
| getHarvestRunInfo ($id, $runId) | |
| getAllHarvestRunInfo ($id) | |
| validateHarvestPlan ($plan) | |
Protected Member Functions | |
| getDkanHarvesterInstance ($harvestPlan, $item_store, $hash_store) | |
Definition at line 14 of file Harvester.php.
| Drupal\dkan_harvest\Harvester::__construct | ( | FactoryInterface | $storeFactory | ) |
Constructor.
Definition at line 21 of file Harvester.php.
| Drupal\dkan_harvest\Harvester::deregisterHarvest | ( | string | $id | ) |
Deregister harvest.
| string | $id | Id. |
Definition at line 93 of file Harvester.php.
| Drupal\dkan_harvest\Harvester::getAllHarvestIds | ( | ) |
| Drupal\dkan_harvest\Harvester::getAllHarvestRunInfo | ( | $id | ) |
Public.
Definition at line 152 of file Harvester.php.
|
protected |
| Drupal\dkan_harvest\Harvester::getHarvestPlan | ( | $plan_id | ) |
Return a harvest plan.
| string | $plan_id | The harvest plan id. |
Definition at line 51 of file Harvester.php.
| Drupal\dkan_harvest\Harvester::getHarvestRunInfo | ( | $id, | |
| $runId | |||
| ) |
Get Harvest Run Info.
Definition at line 137 of file Harvester.php.
| Drupal\dkan_harvest\Harvester::registerHarvest | ( | $plan | ) |
Register a new harvest plan.
| object | $plan | usually an \stdClass representation. |
Definition at line 72 of file Harvester.php.
| Drupal\dkan_harvest\Harvester::revertHarvest | ( | $id | ) |
Public.
Definition at line 106 of file Harvester.php.
| Drupal\dkan_harvest\Harvester::runHarvest | ( | $id | ) |
Public.
Definition at line 119 of file Harvester.php.
| Drupal\dkan_harvest\Harvester::validateHarvestPlan | ( | $plan | ) |
Proxy to Etl Factory to validate harvest plan.
| object | $plan | Plan. |
Definition at line 167 of file Harvester.php.