Package flumotion :: Package admin :: Package command :: Module worker :: Class Worker
[hide private]

Class Worker

source code

                    object --+        
                             |        
extern.command.command.Command --+    
                                 |    
       extern.log.log.Loggable --+    
                                 |    
    monitor.nagios.util.LogCommand --+
                                     |
                                    Worker

Instance Methods [hide private]
 
addOptions(self)
Override me to add options to the parser.
source code
 
handleOptions(self, options)
Handle the parsed options.
source code
 
_callback(self, result) source code

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

Inherited from extern.command.command.Command: do, getFullName, getRootCommand, outputHelp, outputUsage, parse

Inherited from extern.command.command.Command (private): _getStdout

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

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

Class Variables [hide private]
  description = 'Act on workers.'
longer paragraph explaining the command
  subCommandClasses = [<class 'flumotion.admin.command.worker.In...
hash(x)
flumotion.common.state.WorkerHeavenState workerHeavenState

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

Inherited from extern.log.log.Loggable: __implemented__, logCategory

Properties [hide private]

Inherited from extern.command.command.Command: stderr, stdout

Inherited from object: __class__

Method Details [hide private]

addOptions(self)

source code 

Override me to add options to the parser.

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

handleOptions(self, options)

source code 

Handle the parsed options.

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

Class Variable Details [hide private]

subCommandClasses

hash(x)

Value:
[<class 'flumotion.admin.command.worker.Invoke'>,
 <class 'flumotion.admin.command.worker.List'>,
 <class 'flumotion.admin.command.worker.Run'>]