OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2012, the Dart project authors. | 2 * Copyright (c) 2012, 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. |
13 */ | 13 */ |
14 package com.google.dart.tools.update.core; | 14 package com.google.dart.tools.update.core; |
15 | 15 |
16 /** | 16 /** |
17 * This adapter class provides default implementations for the methods described
by the | 17 * This adapter class provides default implementations for the methods described
by the |
18 * {@link UpdateListener} interface. | 18 * {@link UpdateListener} interface. |
19 */ | 19 */ |
20 public class UpdateAdapter implements UpdateListener { | 20 public class UpdateAdapter implements UpdateListener { |
21 | 21 |
22 @Override | 22 @Override |
23 public void checkComplete() { | 23 public void checkComplete() { |
24 } | 24 } |
25 | 25 |
26 @Override | 26 @Override |
| 27 public void checkFailed(String errorDetails) { |
| 28 } |
| 29 |
| 30 @Override |
27 public void checkStarted() { | 31 public void checkStarted() { |
28 } | 32 } |
29 | 33 |
30 @Override | 34 @Override |
31 public void downloadCancelled() { | 35 public void downloadCancelled() { |
32 } | 36 } |
33 | 37 |
34 @Override | 38 @Override |
35 public void downloadComplete() { | 39 public void downloadComplete() { |
36 } | 40 } |
(...skipping 12 matching lines...) Expand all Loading... |
49 | 53 |
50 @Override | 54 @Override |
51 public void updateAvailable(Revision revision) { | 55 public void updateAvailable(Revision revision) { |
52 } | 56 } |
53 | 57 |
54 @Override | 58 @Override |
55 public void updateStaged() { | 59 public void updateStaged() { |
56 } | 60 } |
57 | 61 |
58 } | 62 } |
OLD | NEW |