mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2025-12-30 10:29:34 -05:00
BusinessProcess: allow to get and set backend
This commit is contained in:
parent
504bf7ab7d
commit
c3bd7c4c72
1 changed files with 16 additions and 0 deletions
|
|
@ -115,6 +115,22 @@ class BusinessProcess
|
|||
return $this->title ?: $this->getName();
|
||||
}
|
||||
|
||||
public function setBackend(MonitoringBackend $backend)
|
||||
{
|
||||
$this->backend = $backend;
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getBackend()
|
||||
{
|
||||
return $this->backend;
|
||||
}
|
||||
|
||||
public function hasBackend()
|
||||
{
|
||||
return $this->backend !== null;
|
||||
}
|
||||
|
||||
public function hasBeenChanged()
|
||||
{
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Reference in a new issue