BusinessProcess: allow to add root node

This commit is contained in:
Thomas Gelf 2014-11-30 11:58:24 +01:00
parent dad4b991ea
commit 1bbaf99938

View file

@ -70,6 +70,12 @@ class BusinessProcess
return $this;
}
public function addRootNode($name)
{
$this->root_nodes[$name] = $this->getNode($name);
return $this;
}
public function retrieveStatesFromBackend($backend)
{
$this->backend = $backend;