2015-07-14 12:30:16 +02:00
|
|
|
<?php
|
|
|
|
/* Icinga Web 2 | (c) 2013-2015 Icinga Development Team | GPLv2+ */
|
|
|
|
|
|
|
|
namespace Icinga\Data;
|
2015-07-15 17:30:39 +02:00
|
|
|
use Icinga\Exception\InspectionException;
|
2015-07-14 12:30:16 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* An object for which the user can retrieve status information
|
|
|
|
*/
|
|
|
|
interface Inspectable
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Get information about this objects state
|
|
|
|
*
|
2015-07-15 17:30:39 +02:00
|
|
|
* @return Inspection
|
|
|
|
* @throws InspectionException When inspection of the object was not possible
|
2015-07-14 12:30:16 +02:00
|
|
|
*/
|
2015-07-15 17:30:39 +02:00
|
|
|
public function inspect();
|
2015-07-14 12:30:16 +02:00
|
|
|
}
|