示例#1
0
文件: column.py 项目: mcruse/monotone
 def configuration(self):
     config = SubServiceNode.configuration(self)
     get_attribute(self, 'sort_order', config)
     get_attribute(self, 'position', config, str)
     get_attribute(self, 'type', config)
     get_attribute(self, 'column_error_value', config)
     get_attribute(self, 'column_error_type', config)
     return config
示例#2
0
 def configuration(self):
     config = SubServiceNode.configuration(self)
     get_attribute(self, 'sort_order', config)
     get_attribute(self, 'position', config, str)
     get_attribute(self, 'type', config)
     get_attribute(self, 'column_error_value', config)
     get_attribute(self, 'column_error_type', config)
     return config
示例#3
0
    def configuration(self):
        config = SubServiceNode.configuration(self)
        get_attribute(self, 'object_alias', config)
        get_attribute(self, 'object_name', config)
        get_attribute(self, 'can_query', config)
        get_attribute(self, 'is_enabled', config)
        get_attribute(self, 'object_lifetime', config)

        return config
示例#4
0
 def configuration(self):
     config = SubServiceNode.configuration(self)
     get_attribute(self, 'object_alias', config)
     get_attribute(self,'object_name',config)
     get_attribute(self,'can_query',config)
     get_attribute(self,'is_enabled',config)        
     get_attribute(self, 'object_lifetime', config)
     
     return config    
示例#5
0
 def configuration(self):
     config = SubServiceNode.configuration(self)
     config['log'] = self.parent
     get_attribute(self, 'upload_interval', config, str)
     return config
示例#6
0
 def configuration(self):
     config = SubServiceNode.configuration(self)
     config["log"] = self.parent
     get_attribute(self, "upload_interval", config, str)
     return config