mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2026-02-10 14:33:04 -05:00
BusinessProcess: add hasRootNode helper
This commit is contained in:
parent
97d1e9969d
commit
e4b773e827
1 changed files with 5 additions and 0 deletions
|
|
@ -449,6 +449,11 @@ class BusinessProcess
|
|||
return array_key_exists($name, $this->nodes);
|
||||
}
|
||||
|
||||
public function hasRootNode($name)
|
||||
{
|
||||
return array_key_exists($name, $this->root_nodes);
|
||||
}
|
||||
|
||||
public function createService($host, $service)
|
||||
{
|
||||
$node = new ServiceNode(
|
||||
|
|
|
|||
Loading…
Reference in a new issue