Definition at line 432 of file SerialSubstitution.py.
def SerialSubstitution.ProcessorsList.__init__ |
( |
|
self | ) |
|
def SerialSubstitution.ProcessorsList.__iter__ |
( |
|
self | ) |
|
def SerialSubstitution.ProcessorsList.__len__ |
( |
|
self | ) |
|
def SerialSubstitution.ProcessorsList.AddProcessor |
( |
|
self, |
|
|
|
processor |
|
) |
| |
Definition at line 472 of file SerialSubstitution.py.
473 self.processors.append(processor)
def AddProcessor(self, processor)
def SerialSubstitution.ProcessorsList.Describe |
( |
|
self | ) |
|
Definition at line 477 of file SerialSubstitution.py.
478 output = [
"There are %d processors in queue" % len(self) ]
479 for processor
in self:
480 output.extend(processor.Describe())
def SerialSubstitution.ProcessorsList.ProcessDir |
( |
|
self, |
|
|
|
DirPath |
|
) |
| |
Definition at line 464 of file SerialSubstitution.py.
465 ApplyChangesMsg =
"changed" if self.options.DoIt
else "would be changed" 467 for processor
in self: nChanged += processor.ProcessDir(DirPath)
468 logging.info(
"%d file %s under '%s'", nChanged, ApplyChangesMsg, DirPath)
def ProcessDir(self, DirPath)
def SerialSubstitution.ProcessorsList.SelectProcessors |
( |
|
self, |
|
|
|
ProcessorNames |
|
) |
| |
Definition at line 448 of file SerialSubstitution.py.
449 if ProcessorNames
is None:
return 451 for ProcessorName
in ProcessorNames:
453 if Processor.name != ProcessorName:
continue 454 selected.append(Processor)
458 (
"Unknown processor '%s' selected" % ProcessorName)
def SelectProcessors(self, ProcessorNames)
def SerialSubstitution.ProcessorsList.SetColors |
( |
|
self, |
|
|
|
colors |
|
) |
| |
Definition at line 445 of file SerialSubstitution.py.
446 for processor
in self: processor.SetColors(**colors)
def SetColors(self, colors)
def SerialSubstitution.ProcessorsList.SetOptions |
( |
|
self, |
|
|
|
options |
|
) |
| |
Definition at line 441 of file SerialSubstitution.py.
443 for processor
in self: processor.SetOptions(options)
def SetOptions(self, options)
SerialSubstitution.ProcessorsList.Global |
|
static |
SerialSubstitution.ProcessorsList.options |
SerialSubstitution.ProcessorsList.processors |
The documentation for this class was generated from the following file: