mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2025-12-24 00:29:47 -05:00
24 lines
No EOL
699 B
PHP
24 lines
No EOL
699 B
PHP
<?php
|
|
|
|
namespace Icinga\Module\Businessprocess;
|
|
|
|
use Icinga\Module\Businessprocess\Web\Component\Container;
|
|
use Icinga\Module\Businessprocess\Web\Component\Link;
|
|
|
|
abstract class MonitoredNode extends Node
|
|
{
|
|
protected function prepareActions(Container $actions)
|
|
{
|
|
$actions->add(
|
|
$url = Link::create(
|
|
$actions->view()->translate('Simulate a specific state'),
|
|
'businessprocess/process/show?addSimulation&unlocked',
|
|
array(
|
|
'config' => $this->bp->getName(),
|
|
'simulationNode' => $this->name
|
|
),
|
|
array('class' => 'icon-magic')
|
|
)
|
|
);
|
|
}
|
|
} |