mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2025-12-29 02:09:33 -05:00
BusinessProcess: knows it's own name
This commit is contained in:
parent
2f7991e471
commit
48fb0b61bf
1 changed files with 12 additions and 0 deletions
|
|
@ -10,6 +10,7 @@ class BusinessProcess
|
|||
const HARD_STATE = 1;
|
||||
protected $ido;
|
||||
protected $filename;
|
||||
protected $name;
|
||||
protected $bps;
|
||||
protected $state_type = self::HARD_STATE;
|
||||
protected $warnings = array();
|
||||
|
|
@ -25,6 +26,17 @@ class BusinessProcess
|
|||
{
|
||||
}
|
||||
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
|
||||
public function hasBeenChanged()
|
||||
{
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Reference in a new issue