Package buildbot :: Package slave :: Module commands :: Class SlaveFileUploadCommand
[frames] | no frames]

Class SlaveFileUploadCommand

source code

Command --+
          |
         SlaveFileUploadCommand
Known Subclasses:

Upload a file from slave to build master Arguments:

Instance Methods
 
setup(self, args)
Override this in a subclass to extract items from the args dict.
source code
 
start(self)
Start the command.
source code
 
interrupt(self)
Override this in a subclass to allow commands to be interrupted.
source code
 
finished(self, res) source code

Inherited from Command: __init__, __providedBy__, commandComplete, doInterrupt, doStart, sendStatus

Class Variables
  debug = False

Inherited from Command: __implemented__, __provides__, interrupted, running

Method Details

setup(self, args)

source code 

Override this in a subclass to extract items from the args dict.

Overrides: Command.setup
(inherited documentation)

start(self)

source code 

Start the command. This method should return a Deferred that will fire when the command has completed. The Deferred's argument will be ignored.

This method should be overridden by subclasses.

Overrides: Command.start
(inherited documentation)

interrupt(self)

source code 

Override this in a subclass to allow commands to be interrupted. May be called multiple times, test and set self.interrupted=True if this matters.

Overrides: Command.interrupt
(inherited documentation)