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

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

Issue 1094083003: Re-apply change to move to plugin package (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « pkg/analysis_server/lib/src/socket_server.dart ('k') | pkg/analysis_server/pubspec.yaml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 library driver; 5 library driver;
6 6
7 import 'package:analysis_server/src/server/driver.dart'; 7 import 'package:analysis_server/src/server/driver.dart';
8 import 'package:analyzer/instrumentation/instrumentation.dart'; 8 import 'package:analyzer/instrumentation/instrumentation.dart';
9 import 'package:analyzer/plugin/plugin.dart'; 9 import 'package:plugin/plugin.dart';
10 10
11 /** 11 /**
12 * An object that can be used to start an analysis server. 12 * An object that can be used to start an analysis server.
13 */ 13 */
14 abstract class ServerStarter { 14 abstract class ServerStarter {
15 /** 15 /**
16 * Initialize a newly created starter to start up an analysis server. 16 * Initialize a newly created starter to start up an analysis server.
17 */ 17 */
18 factory ServerStarter() = Driver; 18 factory ServerStarter() = Driver;
19 19
20 /** 20 /**
21 * Set the instrumentation [server] that is to be used by the analysis server. 21 * Set the instrumentation [server] that is to be used by the analysis server.
22 */ 22 */
23 void set instrumentationServer(InstrumentationServer server); 23 void set instrumentationServer(InstrumentationServer server);
24 24
25 /** 25 /**
26 * Set the [plugins] that are defined outside the analysis_server package. 26 * Set the [plugins] that are defined outside the analysis_server package.
27 */ 27 */
28 void set userDefinedPlugins(List<Plugin> plugins); 28 void set userDefinedPlugins(List<Plugin> plugins);
29 29
30 /** 30 /**
31 * Use the given command-line [arguments] to start this server. 31 * Use the given command-line [arguments] to start this server.
32 */ 32 */
33 void start(List<String> arguments); 33 void start(List<String> arguments);
34 } 34 }
OLDNEW
« no previous file with comments | « pkg/analysis_server/lib/src/socket_server.dart ('k') | pkg/analysis_server/pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698