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

Class SlaveFileUploadCommand

Command --+
          |
         SlaveFileUploadCommand


Upload a file from slave to build master Arguments:
Method Summary
  finished(self, res)
  interrupt(self)
Override this in a subclass to allow commands to be interrupted.
  setup(self, args)
Override this in a subclass to extract items from the args dict.
  start(self)
Start the command.
    Inherited from Command
  __init__(self, builder, stepId, args)
  commandComplete(self, res)
  doInterrupt(self)
  doStart(self)
  sendStatus(self, status)
Send a status update to the master.

Class Variable Summary
bool debug = False
    Inherited from Command
Implements __implemented__ = <implementedBy buildbot.slave.commands...
ClassProvides __providedBy__ = <zope.interface.declarations.ClassProvi...
ClassProvides __provides__ = <zope.interface.declarations.ClassProvide...
bool interrupted = False
bool running = False

Method Details

interrupt(self)

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:
buildbot.slave.commands.Command.interrupt (inherited documentation)

setup(self, args)

Override this in a subclass to extract items from the args dict.
Overrides:
buildbot.slave.commands.Command.setup (inherited documentation)

start(self)

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:
buildbot.slave.commands.Command.start (inherited documentation)

Class Variable Details

debug

Type:
bool
Value:
False                                                                  

Generated by Epydoc 2.1 on Sun Dec 10 22:04:44 2006 http://epydoc.sf.net