Package flumotion :: Package admin :: Package command :: Module component :: Class PropertyGet
[hide private]

Class PropertyGet

source code

extern.command.command.Command --+        
                                 |        
       extern.log.log.Loggable --+        
                                 |        
    monitor.nagios.util.LogCommand --+    
                                     |    
                   common.AdminCommand --+
                                         |
                                        PropertyGet

Instance Methods [hide private]
 
do(self, args)
Override me to implement the functionality of the command.
source code
 
doCallback(self, args)
Subclasses should implement this as an alternative to the normal do method.
source code

Inherited from common.AdminCommand: connectToManager

Inherited from monitor.nagios.util.LogCommand: __init__, debug

Inherited from extern.command.command.Command: addOptions, getRootCommand, handleOptions, outputHelp, outputUsage, parse

Inherited from extern.log.log.Loggable: doLog, error, info, log, logFunction, logObjectName, warning, warningFailure, writeMarker

Class Variables [hide private]
  description = 'Get a property of a component.'
longer paragraph explaining the command
  name = 'get'
name of the command, lowercase; defaults to the lowercase version of the class name

Inherited from extern.command.command.Command: aliasedSubCommands, aliases, parentCommand, parser, subCommandClasses, subCommands, summary, usage

Inherited from extern.log.log.Loggable: logCategory

Method Details [hide private]

do(self, args)

source code 

Override me to implement the functionality of the command.

Overrides: extern.command.command.Command.do
(inherited documentation)

doCallback(self, args)

source code 

Subclasses should implement this as an alternative to the normal do method. It will be called after a connection to the manager is made.

Don't forget to return a deferred you create to properly chain execution.

Overrides: common.AdminCommand.doCallback
(inherited documentation)