blob: 64095a5048b626e93f7e8941ae2ec62b5d945664 [file] [log] [blame]
Ray Milkey7f9e0202015-11-04 17:14:09 -08001/*
Brian O'Connor5ab426f2016-04-09 01:19:45 -07002 * Copyright 2016-present Open Networking Laboratory
Ray Milkey7f9e0202015-11-04 17:14:09 -08003 *
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 */
Ray Milkeyd931a9b2016-03-02 17:01:30 -080016package org.onosproject.net.driver;
Ray Milkey7f9e0202015-11-04 17:14:09 -080017
18import java.util.Set;
19
20import org.onosproject.net.DeviceId;
Ray Milkeyd931a9b2016-03-02 17:01:30 -080021
Ray Milkey7f9e0202015-11-04 17:14:09 -080022
23/**
Ray Milkeyd931a9b2016-03-02 17:01:30 -080024 * Testing adapter for the driver service interface.
Ray Milkey7f9e0202015-11-04 17:14:09 -080025 */
26public class DriverServiceAdapter implements DriverService {
27 @Override
28 public Set<Driver> getDrivers() {
29 return null;
30 }
31
32 @Override
33 public Set<Driver> getDrivers(Class<? extends Behaviour> withBehaviour) {
34 return null;
35 }
36
37 @Override
38 public Driver getDriver(String mfr, String hw, String sw) {
39 return null;
40 }
41
42 @Override
43 public Driver getDriver(DeviceId deviceId) {
44 return null;
45 }
46
47 @Override
48 public DriverHandler createHandler(DeviceId deviceId, String... credentials) {
49 return null;
50 }
51
52 @Override
53 public Driver getDriver(String driverName) {
54 return null;
55 }
56}