Пример #1
0
    def get_config(self) -> str:
        NmapR.validate(self)

        return ValueMapper.get_property_default_config(self,
                                                       NmapR(self)._class_name,
                                                       self._command_name,
                                                       'command')
Пример #2
0
    def get_property_default_config(self: T) -> str:

        return ValueMapper.get_property_default_config(
            self, self.__class_name,
            ValueMapper.replace_command_prefixes(self.__command_name),
            'command')
Пример #3
0
 def get_custom_config(self) -> str:
     return ValueMapper.get_property_default_config(self, 'NmapBase',
                                                    self._command_name,
                                                    'command')
Пример #4
0
 def get_custom_config(self: T) -> str:
     return ValueMapper.get_property_default_config(self, 'CheckSNMP',
                                                    'snmp', 'command')