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

Side by Side Diff: pkg/analysis_server/tool/spec/generated/java/AnalysisServer.java

Issue 2713513007: Deprecate execution.setSubscriptions. (Closed)
Patch Set: Merge branch 'master' into deprecate_set_subscriptions Created 3 years, 9 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 /* 1 /*
2 * Copyright (c) 2015, the Dart project authors. 2 * Copyright (c) 2015, the Dart project authors.
3 * 3 *
4 * Licensed under the Eclipse Public License v1.0 (the "License"); you may not u se this file except 4 * Licensed under the Eclipse Public License v1.0 (the "License"); you may not u se this file except
5 * in compliance with the License. You may obtain a copy of the License at 5 * in compliance with the License. You may obtain a copy of the License at
6 * 6 *
7 * http://www.eclipse.org/legal/epl-v10.html 7 * http://www.eclipse.org/legal/epl-v10.html
8 * 8 *
9 * Unless required by applicable law or agreed to in writing, software distribut ed under the License 9 * Unless required by applicable law or agreed to in writing, software distribut ed under the License
10 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY K IND, either express 10 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY K IND, either express
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 * REFACTORING_REQUEST_CANCELLED will be generated. 371 * REFACTORING_REQUEST_CANCELLED will be generated.
372 * 372 *
373 * @param kind The kind of refactoring to be performed. 373 * @param kind The kind of refactoring to be performed.
374 * @param file The file containing the code involved in the refactoring. 374 * @param file The file containing the code involved in the refactoring.
375 * @param offset The offset of the region involved in the refactoring. 375 * @param offset The offset of the region involved in the refactoring.
376 * @param length The length of the region involved in the refactoring. 376 * @param length The length of the region involved in the refactoring.
377 * @param validateOnly True if the client is only requesting that the values o f the options be 377 * @param validateOnly True if the client is only requesting that the values o f the options be
378 * validated and no change be generated. 378 * validated and no change be generated.
379 * @param options Data used to provide values provided by the user. The struct ure of the data is 379 * @param options Data used to provide values provided by the user. The struct ure of the data is
380 * dependent on the kind of refactoring being performed. The data that is expected is 380 * dependent on the kind of refactoring being performed. The data that is expected is
381 * documented in the section titled Refactorings, labeled as Options . This field can be 381 * documented in the section titled Refactorings, labeled as "Options" . This field can be
382 * omitted if the refactoring does not require any options or if the v alues of those 382 * omitted if the refactoring does not require any options or if the v alues of those
383 * options are not known. 383 * options are not known.
384 */ 384 */
385 public void edit_getRefactoring(String kind, String file, int offset, int leng th, boolean validateOnly, RefactoringOptions options, GetRefactoringConsumer con sumer); 385 public void edit_getRefactoring(String kind, String file, int offset, int leng th, boolean validateOnly, RefactoringOptions options, GetRefactoringConsumer con sumer);
386 386
387 /** 387 /**
388 * {@code edit.organizeDirectives} 388 * {@code edit.organizeDirectives}
389 * 389 *
390 * Organizes all of the directives - removes unused imports and sorts directiv es of the given Dart 390 * Organizes all of the directives - removes unused imports and sorts directiv es of the given Dart
391 * file according to the Dart Style Guide. 391 * file according to the Dart Style Guide.
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
460 * 460 *
461 * @param id The identifier of the execution context in which the URI is to be mapped. 461 * @param id The identifier of the execution context in which the URI is to be mapped.
462 * @param file The path of the file to be mapped into a URI. 462 * @param file The path of the file to be mapped into a URI.
463 * @param uri The URI to be mapped into a file path. 463 * @param uri The URI to be mapped into a file path.
464 */ 464 */
465 public void execution_mapUri(String id, String file, String uri, MapUriConsume r consumer); 465 public void execution_mapUri(String id, String file, String uri, MapUriConsume r consumer);
466 466
467 /** 467 /**
468 * {@code execution.setSubscriptions} 468 * {@code execution.setSubscriptions}
469 * 469 *
470 * Deprecated: the analysis server no longer fires LAUNCH_DATA events.
471 *
470 * Subscribe for services. All previous subscriptions are replaced by the give n set of services. 472 * Subscribe for services. All previous subscriptions are replaced by the give n set of services.
471 * 473 *
472 * It is an error if any of the elements in the list are not valid services. I f there is an error, 474 * It is an error if any of the elements in the list are not valid services. I f there is an error,
473 * then the current subscriptions will remain unchanged. 475 * then the current subscriptions will remain unchanged.
474 * 476 *
475 * @param subscriptions A list of the services being subscribed to. 477 * @param subscriptions A list of the services being subscribed to.
476 */ 478 */
477 public void execution_setSubscriptions(List<String> subscriptions); 479 public void execution_setSubscriptions(List<String> subscriptions);
478 480
479 /** 481 /**
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
584 * the response to this request has been sent. 586 * the response to this request has been sent.
585 */ 587 */
586 public void server_shutdown(); 588 public void server_shutdown();
587 589
588 /** 590 /**
589 * Start the analysis server. 591 * Start the analysis server.
590 */ 592 */
591 public void start() throws Exception; 593 public void start() throws Exception;
592 594
593 } 595 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698