PluginBase
Base class for plugins as used in the transformation system
- class DIRAC.TransformationSystem.Client.PluginBase.PluginBase(plugin, operationsHelper=None)
Bases:
object
Base class for TS plugins
- __init__(plugin, operationsHelper=None)
plugin name has to be passed in: it will then be executed as one of the functions below, e.g. plugin = ‘BySize’ will execute TransformationPlugin(‘BySize’)._BySize()
- run()
this is a wrapper to invoke the plugin (self._%s()” % self.plugin)
- setParameters(params)
Extensions may re-define it