OLD | NEW |
---|---|
(Empty) | |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | |
2 # Use of this source code is governed by a BSD-style license that can be | |
3 # found in the LICENSE file. | |
4 | |
5 | |
6 # pylint: disable=W0201 | |
7 | |
8 | |
9 from recipe_engine import recipe_api | |
10 | |
11 from . import builder_name_schema | |
12 | |
13 | |
14 class BuilderNameSchemaApi(recipe_api.RecipeApi): | |
15 def __init__(self, *args, **kwargs): | |
16 super(BuilderNameSchemaApi, self).__init__(*args, **kwargs) | |
17 | |
18 # See builder_name_schema.py for documentation. | |
19 self.BUILDER_NAME_SCHEMA = builder_name_schema.BUILDER_NAME_SCHEMA | |
20 self.BUILDER_NAME_SEP = builder_name_schema.BUILDER_NAME_SEP | |
21 | |
22 self.BUILDER_ROLE_CANARY = builder_name_schema.BUILDER_ROLE_CANARY | |
23 self.BUILDER_ROLE_BUILD = builder_name_schema.BUILDER_ROLE_BUILD | |
24 self.BUILDER_ROLE_HOUSEKEEPER = builder_name_schema.BUILDER_ROLE_HOUSEKEEPER | |
25 self.BUILDER_ROLE_INFRA = builder_name_schema.BUILDER_ROLE_INFRA | |
26 self.BUILDER_ROLE_PERF = builder_name_schema.BUILDER_ROLE_PERF | |
27 self.BUILDER_ROLE_TEST = builder_name_schema.BUILDER_ROLE_TEST | |
28 self.BUILDER_ROLES = builder_name_schema.BUILDER_ROLES | |
29 | |
30 self.TRYBOT_NAME_SUFFIX = builder_name_schema.TRYBOT_NAME_SUFFIX | |
rmistry
2016/08/04 17:15:46
Not sure these variables need to be in CAPS but if
borenet
2016/08/04 17:23:40
I just wanted everything to be pretty much the sam
| |
31 | |
32 def MakeBuilderName(self, *args, **kwargs): | |
33 return builder_name_schema.MakeBuilderName(*args, **kwargs) | |
34 | |
35 def IsTrybot(self, *args, **kwargs): | |
36 return builder_name_schema.IsTrybot(*args, **kwargs) | |
37 | |
38 def DictForBuilderName(self, *args, **kwargs): | |
39 return builder_name_schema.DictForBuilderName(*args, **kwargs) | |
OLD | NEW |