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

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

Issue 1416093007: Experimental `getDiagnostics` request (#24480). (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Review fixes. Created 5 years, 1 month 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) 2014, 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
11 * or implied. See the License for the specific language governing permissions a nd limitations under 11 * or implied. See the License for the specific language governing permissions a nd limitations under
12 * the License. 12 * the License.
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after
436 * Subscribe for services. All previous subscriptions are replaced by the give n set of services. 436 * Subscribe for services. All previous subscriptions are replaced by the give n set of services.
437 * 437 *
438 * It is an error if any of the elements in the list are not valid services. I f there is an error, 438 * It is an error if any of the elements in the list are not valid services. I f there is an error,
439 * then the current subscriptions will remain unchanged. 439 * then the current subscriptions will remain unchanged.
440 * 440 *
441 * @param subscriptions A list of the services being subscribed to. 441 * @param subscriptions A list of the services being subscribed to.
442 */ 442 */
443 public void execution_setSubscriptions(List<String> subscriptions); 443 public void execution_setSubscriptions(List<String> subscriptions);
444 444
445 /** 445 /**
446 * {@code experimental.getDiagnostics}
447 *
448 * Return server diagnostics.
449 */
450 public void experimental_getDiagnostics(GetDiagnosticsConsumer consumer);
451
452 /**
446 * Return {@code true} if the socket is open. 453 * Return {@code true} if the socket is open.
447 */ 454 */
448 public boolean isSocketOpen(); 455 public boolean isSocketOpen();
449 456
450 /** 457 /**
451 * Remove the given listener from the list of listeners that will receive noti fication when new 458 * Remove the given listener from the list of listeners that will receive noti fication when new
452 * analysis results become available. 459 * analysis results become available.
453 * 460 *
454 * @param listener the listener to be removed 461 * @param listener the listener to be removed
455 */ 462 */
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
550 * the response to this request has been sent. 557 * the response to this request has been sent.
551 */ 558 */
552 public void server_shutdown(); 559 public void server_shutdown();
553 560
554 /** 561 /**
555 * Start the analysis server. 562 * Start the analysis server.
556 */ 563 */
557 public void start() throws Exception; 564 public void start() throws Exception;
558 565
559 } 566 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698