Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(16)

Side by Side Diff: pkg/analysis_server/lib/starter.dart

Issue 3004523003: Remove more references to the old plugin system (Closed)
Patch Set: Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 import 'package:analysis_server/src/analysis_server.dart'; 5 import 'package:analysis_server/src/analysis_server.dart';
6 import 'package:analysis_server/src/server/driver.dart'; 6 import 'package:analysis_server/src/server/driver.dart';
7 import 'package:analyzer/instrumentation/instrumentation.dart'; 7 import 'package:analyzer/instrumentation/instrumentation.dart';
8 import 'package:analyzer/plugin/resolver_provider.dart'; 8 import 'package:analyzer/plugin/resolver_provider.dart';
9 import 'package:plugin/plugin.dart';
10 9
11 /** 10 /**
12 * An object that can be used to start an analysis server. This class exists so 11 * An object that can be used to start an analysis server. This class exists so
13 * that clients can configure an analysis server before starting it. 12 * that clients can configure an analysis server before starting it.
14 * 13 *
15 * Clients may not extend, implement or mix-in this class. 14 * Clients may not extend, implement or mix-in this class.
16 */ 15 */
17 abstract class ServerStarter { 16 abstract class ServerStarter {
18 /** 17 /**
19 * Initialize a newly created starter to start up an analysis server. 18 * Initialize a newly created starter to start up an analysis server.
(...skipping 13 matching lines...) Expand all
33 void set instrumentationServer(InstrumentationServer server); 32 void set instrumentationServer(InstrumentationServer server);
34 33
35 /** 34 /**
36 * Set the package resolver provider used to override the way package URI's 35 * Set the package resolver provider used to override the way package URI's
37 * are resolved in some contexts. The provider should return `null` if the 36 * are resolved in some contexts. The provider should return `null` if the
38 * default package resolution scheme should be used instead. 37 * default package resolution scheme should be used instead.
39 */ 38 */
40 void set packageResolverProvider(ResolverProvider provider); 39 void set packageResolverProvider(ResolverProvider provider);
41 40
42 /** 41 /**
43 * Set the [plugins] that are defined outside the analysis_server package.
44 */
45 void set userDefinedPlugins(List<Plugin> plugins);
46
47 /**
48 * Use the given command-line [arguments] to start this server. 42 * Use the given command-line [arguments] to start this server.
49 * 43 *
50 * At least temporarily returns AnalysisServer so that consumers of the 44 * At least temporarily returns AnalysisServer so that consumers of the
51 * starter API can then use the server, this is done as a stopgap for the 45 * starter API can then use the server, this is done as a stopgap for the
52 * angular plugin until the official plugin API is finished. 46 * angular plugin until the official plugin API is finished.
53 */ 47 */
54 AnalysisServer start(List<String> arguments); 48 AnalysisServer start(List<String> arguments);
55 } 49 }
OLDNEW
« no previous file with comments | « pkg/analysis_server/lib/src/status/diagnostics.dart ('k') | pkg/analysis_server/test/analysis_abstract.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698