Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
api.py
Go to the documentation of this file.
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
9from recipe_engine import recipe_api
10
11from . import builder_name_schema
12
13
14class 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_BUILD = builder_name_schema.BUILDER_ROLE_BUILD
23 self.BUILDER_ROLE_HOUSEKEEPER = builder_name_schema.BUILDER_ROLE_HOUSEKEEPER
24 self.BUILDER_ROLE_INFRA = builder_name_schema.BUILDER_ROLE_INFRA
25 self.BUILDER_ROLE_PERF = builder_name_schema.BUILDER_ROLE_PERF
26 self.BUILDER_ROLE_TEST = builder_name_schema.BUILDER_ROLE_TEST
27 self.BUILDER_ROLES = builder_name_schema.BUILDER_ROLES
28
29 def MakeBuilderName(self, **kwargs):
30 return builder_name_schema.MakeBuilderName(**kwargs)
31
32 def DictForBuilderName(self, *args, **kwargs):
33 return builder_name_schema.DictForBuilderName(*args, **kwargs)
DictForBuilderName(self, *args, **kwargs)
Definition api.py:32
__init__(self, *args, **kwargs)
Definition api.py:15