BusinessProcess: add hasRootNode helper

This commit is contained in:
Thomas Gelf 2017-01-10 15:54:03 +01:00
parent 97d1e9969d
commit e4b773e827

View file

@ -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(