示例#1
0
 def register_install_strategy(self, strategy):
     raise exceptions.StrategyNotImplemented(self.component_name,
                                             "base_install")
示例#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()
示例#3
0
 def execute_process_status_strategy(self):
     raise exceptions.StrategyNotImplemented(self.component_name,
                                             "status_strategy")
示例#4
0
 def execute_process_stop_strategy(self):
     raise exceptions.StrategyNotImplemented(self.component_name,
                                             "base_stop")
示例#5
0
 def execute_uninstall_strategy(self):
     raise exceptions.StrategyNotImplemented(self.component_name,
                                             "base_uninstall")
示例#6
0
 def register_process_status_strategy(self, strategy):
     raise exceptions.StrategyNotImplemented(self.component_name,
                                             "status_strategy")