2018-10-06 16:55:52 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Icinga\Module\Director\DirectorObject\Automation;
|
|
|
|
|
2018-11-15 11:14:14 +01:00
|
|
|
use Icinga\Module\Director\Db;
|
|
|
|
|
2018-10-06 16:55:52 +02:00
|
|
|
interface ExportInterface
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* @return \stdClass
|
|
|
|
*/
|
|
|
|
public function export();
|
|
|
|
|
2018-11-15 11:14:14 +01:00
|
|
|
public static function import($plain, Db $db, $replace = false);
|
|
|
|
|
2018-10-06 16:55:52 +02:00
|
|
|
// TODO:
|
|
|
|
// public function getXyzChecksum();
|
2018-10-08 06:22:33 +02:00
|
|
|
public function getUniqueIdentifier();
|
2018-10-06 16:55:52 +02:00
|
|
|
}
|