summaryrefslogtreecommitdiffstats
path: root/library/Director/Hook/ServiceFieldHook.php
blob: bca08364ad138a5dce18118d4e79314d7016467d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php

namespace Icinga\Module\Director\Hook;

use Icinga\Module\Director\Field\FieldSpec;
use Icinga\Module\Director\Objects\IcingaService;

abstract class ServiceFieldHook
{
    public function wants(IcingaService $service)
    {
        return true;
    }

    /**
     * @return FieldSpec
     */
    abstract public function getFieldSpec(IcingaService $service);
}