Package commons :: Module IComponentWrapper
[hide private]
[frames] | no frames]

Source Code for Module commons.IComponentWrapper

 1   
2 -class IComponentWrapper:
3 """ 4 A interface wrapper for all pipelines component 5 """ 6
7 - def run(self):
8 """ 9 run the component 10 """ 11 pass
12
13 - def loadConfig(self, configParserInstance):
14 """ 15 load component config 16 17 @param configParserInstance: config parser where config file is loaded 18 @type configParserInstance: class ConfigParser 19 """ 20 pass
21
22 - def clean(self):
23 """ 24 clean files generated by run method 25 """ 26 pass
27
28 - def getComponent (self):
29 """ 30 return component wrapped 31 """
32