mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2025-12-20 23:00:16 -05:00
Node: last state change support
This commit is contained in:
parent
5bf53ff614
commit
bf7aeaf2d7
1 changed files with 11 additions and 0 deletions
|
|
@ -164,6 +164,17 @@ abstract class Node
|
|||
return $state;
|
||||
}
|
||||
|
||||
public function getLastStateChange()
|
||||
{
|
||||
return $this->lastStateChange;
|
||||
}
|
||||
|
||||
public function setLastStateChange($timestamp)
|
||||
{
|
||||
$this->lastStateChange = $timestamp;
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function setParent(Node $parent)
|
||||
{
|
||||
$this->parent = $parent;
|
||||
|
|
|
|||
Loading…
Reference in a new issue