blob: 25b3aca3e1f9f0c572d7e2f676de2738eabae7e9 [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
Andrea Campanella80520b82016-01-05 17:55:29 -080018import java.util.List;
Ray Milkey7f9e0202015-11-04 17:14:09 -080019import java.util.Map;
20import java.util.Set;
21
Ray Milkey7f9e0202015-11-04 17:14:09 -080022/**
Ray Milkeyd931a9b2016-03-02 17:01:30 -080023 * Test adapter for the driver class.
Ray Milkey7f9e0202015-11-04 17:14:09 -080024 */
25public class DriverAdapter implements Driver {
26 @Override
27 public String name() {
28 return null;
29 }
30
31 @Override
32 public Driver parent() {
33 return null;
34 }
35
36 @Override
Andrea Campanella80520b82016-01-05 17:55:29 -080037 public List<Driver> parents() {
38 return null;
39 }
40
41 @Override
Ray Milkey7f9e0202015-11-04 17:14:09 -080042 public String manufacturer() {
43 return null;
44 }
45
46 @Override
47 public String hwVersion() {
48 return null;
49 }
50
51 @Override
52 public String swVersion() {
53 return null;
54 }
55
56 @Override
57 public Set<Class<? extends Behaviour>> behaviours() {
58 return null;
59 }
60
61 @Override
62 public Class<? extends Behaviour> implementation(Class<? extends Behaviour> behaviour) {
63 return null;
64 }
65
66 @Override
67 public boolean hasBehaviour(Class<? extends Behaviour> behaviourClass) {
68 return true;
69 }
70
71 @Override
72 public <T extends Behaviour> T createBehaviour(DriverData data, Class<T> behaviourClass) {
73 return null;
74 }
75
Ray Milkey7f9e0202015-11-04 17:14:09 -080076 @Override
77 public <T extends Behaviour> T createBehaviour(DriverHandler handler, Class<T> behaviourClass) {
Ray Milkey7f9e0202015-11-04 17:14:09 -080078 return null;
79 }
80
81 @Override
82 public Map<String, String> properties() {
83 return null;
84 }
85
86 @Override
Charles Chana59f9b762017-07-30 18:09:44 -070087 public String getProperty(String name) {
88 return null;
89 }
90
91 @Override
Ray Milkey7f9e0202015-11-04 17:14:09 -080092 public Driver merge(Driver other) {
93 return null;
94 }
95
96 @Override
97 public Set<String> keys() {
98 return null;
99 }
100
101 @Override
102 public String value(String key) {
103 return null;
104 }
105}