Exemplo n.º 1
0
 def register_install_strategy(self, strategy):
     raise exceptions.StrategyNotImplemented(self.component_name,
                                             "base_install")
Exemplo n.º 2
0
 def execute_strategy(component_name, strategy):
     BaseComponent.validate_strategy(strategy)
     if not strategy.functions:
         raise exceptions.StrategyNotImplemented(component_name,
                                                 strategy.name)
     strategy.execute_strategy()
Exemplo n.º 3
0
 def execute_process_status_strategy(self):
     raise exceptions.StrategyNotImplemented(self.component_name,
                                             "status_strategy")
Exemplo n.º 4
0
 def execute_process_stop_strategy(self):
     raise exceptions.StrategyNotImplemented(self.component_name,
                                             "base_stop")
Exemplo n.º 5
0
 def execute_uninstall_strategy(self):
     raise exceptions.StrategyNotImplemented(self.component_name,
                                             "base_uninstall")
Exemplo n.º 6
0
 def register_process_status_strategy(self, strategy):
     raise exceptions.StrategyNotImplemented(self.component_name,
                                             "status_strategy")