public function getCheckCommandObjects()
 {
     IcingaCommand::setPluginDir($this->getConstant('PluginDir'));
     $objects = $this->getDirectorObjects('Command', 'CheckCommand', 'CheckCommands', array('arguments' => 'arguments', 'timeout' => 'timeout', 'command' => 'command', 'vars' => 'vars'));
     foreach ($objects as $obj) {
         $obj->methods_execute = 'PluginCheck';
     }
     return $objects;
     return $this->getObjects('CheckCommand', 'CheckCommands');
 }