blob: 23e9b236e2d6f9db26d40a79a13505f52de1a58b [file] [log] [blame]
Jian Li95edb592017-01-29 08:42:07 +09001/*
Brian O'Connora09fe5b2017-08-03 21:12:30 -07002 * Copyright 2017-present Open Networking Foundation
Jian Li95edb592017-01-29 08:42:07 +09003 *
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 */
16package org.onosproject.mapping;
17
Jian Li38bb1092017-05-01 15:04:32 +090018import java.util.List;
19
Jian Li95edb592017-01-29 08:42:07 +090020/**
21 * Adapter for testing against mapping provider service.
22 */
23public class MappingProviderServiceAdapter implements MappingProviderService {
24 @Override
25 public MappingProvider provider() {
26 return null;
27 }
28
29 @Override
Jian Lic7badf92017-02-02 19:43:46 +090030 public void mappingAdded(MappingEntry mappingEntry, MappingStore.Type type) {
Jian Li95edb592017-01-29 08:42:07 +090031
32 }
Jian Li791dd322017-04-20 00:15:56 +090033
34 @Override
35 public MappingValue mappingQueried(MappingKey mappingKey) {
36 return null;
37 }
Jian Li38bb1092017-05-01 15:04:32 +090038
39 @Override
40 public List<MappingValue> mappingQueried(List<MappingKey> mappingKeys) {
41 return null;
42 }
Jian Li95edb592017-01-29 08:42:07 +090043}