def set_configuration_property(self, configuration_property): # retrieves the configuration configuration = configuration_property.get_data() # cleans the console configuration colony.map_clean(self.console_configuration) # copies the service configuration to the console configuration configuration colony.map_copy(configuration, self.console_configuration)
def set_startup_configuration_property(self, startup_configuration_property): # retrieves the startup configuration startup_configuration = startup_configuration_property.get_data() # cleans the startup configuration colony.map_clean(self.startup_configuration) # copies the startup configuration to the startup configuration colony.map_copy(startup_configuration, self.startup_configuration)
def set_handler_configuration_property(self, handler_configuration_property): # retrieves the handler configuration handler_configuration = handler_configuration_property.get_data() # cleans the handler configuration colony.map_clean(self.handler_configuration) # copies the handler configuration to the handler configuration colony.map_copy(handler_configuration, self.handler_configuration)
def unset_startup_configuration_property(self): # cleans the startup configuration colony.map_clean(self.startup_configuration)
def unset_configuration_property(self): # cleans the info user configuration map to avoid duplicate # values in the map (side effect may occur) colony.map_clean(self.info_user_configuration)
def set_configuration_property(self, configuration_property): # retrieves the configuration and runs the clean operation # in it then copies the configuration to the target map configuration = configuration_property.get_data() colony.map_clean(self.info_user_configuration) colony.map_copy(configuration, self.info_user_configuration)
def unset_configuration_property(self): # cleans the console configuration colony.map_clean(self.console_configuration)
def unset_handler_configuration_property(self): # cleans the handler configuration colony.map_clean(self.handler_configuration)