コード例 #1
0
 /**
  * __construct - object initialization routine
  *
  * @param mixed $deployment  deployment we are making the change too
  * @param mixed $action      action that was being requested
  * @param mixed $type        type of host we are interacting with
  * @param array $hostInfo    host group information we are inputting
  *
  * @access public
  * @return void
  */
 public function __construct($deployment, $action, $type, array $hostInfo)
 {
     parent::__construct($deployment);
     $this->action = $action;
     $this->type = $type;
     $this->hostInfo = $hostInfo;
 }
コード例 #2
0
 /**
  * __construct - object initialization routine
  *
  * @param mixed $deployment        deployment we are making the change too
  * @param mixed $revision          revision we are making the change too
  * @param array $supnrpecfgInfo    supplemental nrpe config information
  * @param mixed $action            action that was being requested
  * @param array $oldsupnrpecfgInfo old supplemental nrpe config information
  *
  * @access public
  * @return void
  */
 public function __construct($deployment, $revision, array $supnrpecfgInfo, $action, array $oldsupnrpecfgInfo = array())
 {
     parent::__construct($deployment);
     $this->supnrpecfg = $supnrpecfgInfo;
     $this->action = $action;
     $this->revision = $revision;
     if ($action == 'modify' || $action == 'delete') {
         $this->oldsupnrpecfg = $oldsupnrpecfgInfo;
     }
 }
コード例 #3
0
 /**
  * __construct - object initialization routine
  *
  * @param mixed $deployment   deployment we are making the change too
  * @param mixed $revision     revision we are making the change too
  * @param array $resources    resource config information
  * @param mixed $action       action that was being requested
  * @param array $oldResources old resource config information being replaced
  *
  * @access public
  * @return void
  */
 public function __construct($deployment, $revision, array $resources, $action, array $oldResources = array())
 {
     parent::__construct($deployment);
     $this->resources = $resources;
     $this->action = $action;
     $this->revision = $revision;
     if ($action == 'modify' || $action == 'delete') {
         $this->oldResources = $oldResources;
     }
 }
コード例 #4
0
 /**
  * __construct - object initialization routine
  *
  * @param mixed $deployment    deployment we are making the change too
  * @param mixed $revision      revision we are making the change too
  * @param array $configinfo    cgi configuration information we are inputting
  * @param mixed $action        action that was being requested
  * @param array $oldConfiginfo old cgi configuration information being replaced
  *
  * @access public
  * @return void
  */
 public function __construct($deployment, $revision, array $configinfo, $action, array $oldConfiginfo = array())
 {
     parent::__construct($deployment);
     $this->configinfo = $configinfo;
     $this->action = $action;
     $this->revision = $revision;
     if ($action == 'modify' || $action == 'delete') {
         $this->oldConfiginfo = $oldConfiginfo;
     }
 }
コード例 #5
0
 /**
  * __construct - object initialization routine
  *
  * @param mixed $deployment           deployment we are making the change too
  * @param mixed $revision             revision we are making the change too
  * @param mixed $supnrpeplugin        nrpe supplemental plugin we are referencing
  * @param array $supnrpepluginInfo    nrpe supplemental plugin information
  * @param mixed $action               action that was being requested
  * @param array $oldSupNRPEPluginInfo old nrpe supplemental plugin information being replaced
  *
  * @access public
  * @return void
  */
 public function __construct($deployment, $revision, $supnrpeplugin, array $supnrpepluginInfo, $action, array $oldSupNRPEPluginInfo = array())
 {
     parent::__construct($deployment);
     $this->supnrpeplugin = $supnrpeplugin;
     $this->supnrpepluginInfo = $supnrpepluginInfo;
     $this->action = $action;
     $this->revision = $revision;
     if ($action == 'modify') {
         $this->oldSupNRPEPluginInfo = $oldSupNRPEPluginInfo;
     }
 }
コード例 #6
0
 /**
  * __construct - object initialization routine
  *
  * @param mixed $deployment  deployment we are making the change too
  * @param mixed $revision    revision we are making the change too
  * @param mixed $hostGroup   host group we are modifying
  * @param array $hostInfo    host group information we are inputting
  * @param mixed $action      action that was being requested
  * @param array $oldHostInfo old host group information being replaced
  *
  * @access public
  * @return void
  */
 public function __construct($deployment, $revision, $hostGroup, array $hostInfo, $action, array $oldHostInfo = array())
 {
     parent::__construct($deployment);
     $this->hostGroup = $hostGroup;
     $this->hostInfo = $hostInfo;
     $this->action = $action;
     $this->revision = $revision;
     if ($action == 'modify') {
         $this->oldHostInfo = $oldHostInfo;
     }
 }
コード例 #7
0
 /**
  * __construct - object initialization routine
  *
  * @param mixed $deployment          deployment we are making the change too
  * @param mixed $revision            revision we are making the change too
  * @param mixed $nagiosplugin        nagios plugin we are referencing
  * @param array $nagiospluginInfo    nagios plugin information
  * @param mixed $action              action that was being requested
  * @param array $oldNagiosPluginInfo old nagios plugin information being replaced
  *
  * @access public
  * @return void
  */
 public function __construct($deployment, $revision, $nagiosplugin, array $nagiospluginInfo, $action, array $oldNagiosPluginInfo = array())
 {
     parent::__construct($deployment);
     $this->nagiosplugin = $nagiosplugin;
     $this->nagiospluginInfo = $nagiospluginInfo;
     $this->action = $action;
     $this->revision = $revision;
     if ($action == 'modify') {
         $this->oldNagiosPluginInfo = $oldNagiosPluginInfo;
     }
 }
コード例 #8
0
 /**
  * __construct - object initialization routine
  *
  * @param mixed $deployment     deployment we are making the change too
  * @param mixed $revision       revision we are making the change too
  * @param mixed $nrpecmd        nrpe command we are referencing
  * @param array $nrpecmdInfo    nrpe command information
  * @param mixed $action         action that was being requested
  * @param array $oldNRPECmdInfo old nrpe command information being replaced
  *
  * @access public
  * @return void
  */
 public function __construct($deployment, $revision, $nrpecmd, array $nrpecmdInfo, $action, array $oldNRPECmdInfo = array())
 {
     parent::__construct($deployment);
     $this->nrpecmd = $nrpecmd;
     $this->nrpecmdInfo = $nrpecmdInfo;
     $this->action = $action;
     $this->revision = $revision;
     if ($action == 'modify') {
         $this->oldNRPECmdInfo = $oldNRPECmdInfo;
     }
 }
コード例 #9
0
 /**
  * __construct - object initialization routine
  *
  * @param mixed $deployment      deployment we are making the change too
  * @param mixed $revision        revision we are making the change too
  * @param mixed $contactTemplate contact template we are modifying
  * @param array $contactInfo     contact template information we are inputting
  * @param mixed $action          action that was being requested
  * @param array $oldContactInfo  old contact template information being replaced
  *
  * @access public
  * @return void
  */
 public function __construct($deployment, $revision, $contactTemplate, array $contactInfo, $action, array $oldContactInfo = array())
 {
     parent::__construct($deployment);
     $this->contactTemplate = $contactTemplate;
     $this->contactInfo = $contactInfo;
     $this->action = $action;
     $this->revision = $revision;
     if ($action == 'modify') {
         $this->oldContactInfo = $oldContactInfo;
     }
 }
コード例 #10
0
 /**
  * __construct - object initialization routine
  *
  * @param mixed $deployment    deployment we are making the change too
  * @param mixed $revision      revision we are making the change too
  * @param mixed $svcDep        service dependency we are referencing
  * @param array $svcDepInfo    service dependency information
  * @param mixed $action        action that was being requested
  * @param array $oldSvcDepInfo old service dependency information being replaced
  *
  * @access public
  * @return void
  */
 public function __construct($deployment, $revision, $svcDep, array $svcDepInfo, $action, array $oldSvcDepInfo = array())
 {
     parent::__construct($deployment);
     $this->svcDep = $svcDep;
     $this->svcDepInfo = $svcDepInfo;
     $this->action = $action;
     $this->revision = $revision;
     if ($action == 'modify') {
         $this->oldSvcDepInfo = $oldSvcDepInfo;
     }
 }
コード例 #11
0
 /**
  * __construct - object initialization routine
  *
  * @param mixed $deployment     deployment we are making the change too
  * @param mixed $revision       revision we are making the change too
  * @param mixed $command        command we are modifying
  * @param array $commandInfo    configuration information we are inputting
  * @param mixed $action         action that was being requested
  * @param array $oldCommandInfo old configuration information being replaced
  *
  * @access public
  * @return void
  */
 public function __construct($deployment, $revision, $command, array $commandInfo, $action, array $oldCommandInfo = array())
 {
     parent::__construct($deployment);
     $this->command = $command;
     $this->cmdInfo = $commandInfo;
     $this->action = $action;
     $this->revision = $revision;
     if ($action == 'modify') {
         $this->oldCmdInfo = $oldCommandInfo;
     }
 }
コード例 #12
0
 /**
  * __construct - object initialization routine
  *
  * @param mixed $deployment           deployment we are making the change too
  * @param array $deployInfo           deployment meta information
  * @param array $deployDynHosts       deployment dynamic host data
  * @param array $deployStaticHosts    deployment static hosts
  * @param mixed $action               action that was being requested
  * @param array $oldDeployInfo        old deployment meta information
  * @param array $oldDeployDynHosts    old deployment dynamic host data
  * @param array $oldDeployStaticHosts old deployment static hosts
  *
  * @access public
  * @return void
  */
 public function __construct($deployment, array $deployInfo, array $deployDynHosts, array $deployStaticHosts, $action, array $oldDeployInfo = array(), array $oldDeployDynHosts = array(), array $oldDeployStaticHosts = array())
 {
     parent::__construct($deployment);
     $this->deployInfo = $deployInfo;
     $this->dynhosts = $deployDynHosts;
     $this->action = $action;
     $this->statichosts = $deployStaticHosts;
     if ($action == 'modify') {
         $this->oldInfo = $oldDeployInfo;
         $this->oldDynhosts = $oldDeployDynHosts;
         $this->oldStatichosts = $oldDeployStaticHosts;
     }
 }
コード例 #13
0
 /**
  * __construct - object initialization routine
  *
  * @param mixed $deployment        deployment we are making the change too
  * @param mixed $revision          revision we are making the change too
  * @param mixed $timeperiod        timeperiod we are referencing
  * @param array $timeperiodInfo    timeperiod meta information
  * @param array $timeperiodData    timeperiod data
  * @param mixed $action            action that was being requested
  * @param array $oldTimeperiodInfo old timeperiod meta information
  * @param array $oldTimeperiodData old timeperiod data
  *
  * @access public
  * @return void
  */
 public function __construct($deployment, $revision, $timeperiod, array $timeperiodInfo, array $timeperiodData, $action, array $oldTimeperiodInfo = array(), array $oldTimeperiodData = array())
 {
     parent::__construct($deployment);
     $this->timeperiod = $timeperiod;
     $this->timeperiodInfo = $timeperiodInfo;
     $this->timeperiodData = $timeperiodData;
     $this->action = $action;
     $this->revision = $revision;
     if ($action == 'modify') {
         $this->oldTimeperiodInfo = $oldTimeperiodInfo;
         $this->oldTimeperiodData = $oldTimeperiodData;
     }
 }