Bri Prebilic Cole | 09e464b | 2015-01-07 17:13:54 -0800 | [diff] [blame] | 1 | /* |
Brian O'Connor | 5ab426f | 2016-04-09 01:19:45 -0700 | [diff] [blame] | 2 | * Copyright 2015-present Open Networking Laboratory |
Bri Prebilic Cole | 09e464b | 2015-01-07 17:13:54 -0800 | [diff] [blame] | 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
| 15 | */ |
| 16 | |
| 17 | package org.onosproject.core; |
| 18 | |
| 19 | import java.util.Set; |
| 20 | |
| 21 | /** |
| 22 | * Test adapter for core service. |
| 23 | */ |
| 24 | public class CoreServiceAdapter implements CoreService { |
| 25 | @Override |
| 26 | public Version version() { |
| 27 | return null; |
| 28 | } |
| 29 | |
| 30 | @Override |
| 31 | public Set<ApplicationId> getAppIds() { |
| 32 | return null; |
| 33 | } |
| 34 | |
| 35 | @Override |
| 36 | public ApplicationId getAppId(Short id) { |
| 37 | return null; |
| 38 | } |
| 39 | |
| 40 | @Override |
Ray Milkey | 0247986 | 2015-02-17 17:02:19 -0800 | [diff] [blame] | 41 | public ApplicationId getAppId(String name) { |
| 42 | return null; |
| 43 | } |
| 44 | |
| 45 | @Override |
Thomas Vachuska | c65dd71 | 2015-11-04 17:19:10 -0800 | [diff] [blame] | 46 | public ApplicationId registerApplication(String name) { |
| 47 | return null; |
| 48 | } |
| 49 | |
| 50 | @Override |
| 51 | public ApplicationId registerApplication(String name, Runnable preDeactivate) { |
Bri Prebilic Cole | 09e464b | 2015-01-07 17:13:54 -0800 | [diff] [blame] | 52 | return null; |
| 53 | } |
| 54 | |
| 55 | @Override |
| 56 | public IdGenerator getIdGenerator(String topic) { |
| 57 | return null; |
| 58 | } |
| 59 | } |