Module buildtools :: Class Command |
[hide private]
[frames] | no frames]

# Class Command

source code

    object --+
             |
          Task --+
                 |
                Command

This class implements a command definition. It handles command id and stage. All command from one stage should be finished before starting the next stage.

Instance Methods | [hide private]
__init__(self, executable, path, args=None, name='') x.__init__(...) initializes x; see x.__class__.__doc__ for signature | source code
setJobId(self, idn) Set the command id. | source code
setStage(self, stage) Set the command stage. | source code
jobId(self) Get the command id. | source code
stage(self) Get the command stage. | source code
name(self) Get the command name. | source code
executable(self) Get the command executable. | source code
path(self) Get the command path. | source code
cmd(self) Get the command line. | source code
addArg(self, arg) Add a command line argument. | source code
__repr__(self) repr(x) | source code
Inherited from `object`: `__delattr__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__setattr__`, `__str__`

Properties | [hide private]
Inherited from `object`: `__class__`

Method Details | [hide private]

### __init__(self, executable, path, args=None, name='') (Constructor) | source code
x.__init__(...) initializes x; see x.__class__.__doc__ for signature Overrides: object.__init__ (inherited documentation)

### __repr__(self) (Representation operator) | source code
repr(x) Overrides: object.__repr__ (inherited documentation)