Package Products :: Package ZenRRD :: Module ComponentCommandParser :: Class ComponentCommandParser
[hide private]
[frames] | no frames]

Class ComponentCommandParser

source code

                 object --+    
                          |    
CommandParser.CommandParser --+
                              |
                             ComponentCommandParser

Instance Methods [hide private]
 
prepId(self, id, subchar='_') source code
 
dataForParser(self, context, dp) source code
 
processResults(self, cmd, result)
Process the results of a running a command.
source code

Inherited from CommandParser.CommandParser: createDefaultEventUsingExitCode, preprocessResults

Class Variables [hide private]
  componentSplit = '\n'
  componentScanner = ''
  scanners = ()
  componentScanValue = 'id'
Method Details [hide private]

dataForParser(self, context, dp)

source code 
Overrides: CommandParser.CommandParser.dataForParser

processResults(self, cmd, result)

source code 

Process the results of a running a command.

Parameters:
  • cmd - the results of running a command, with the configuration from ZenHub
  • results - the values and events from the command output
Returns:
None.
Overrides: CommandParser.CommandParser.processResults
(inherited documentation)