blob: d5b6fba80866c4f4e53522a5789c865615f329df [file] [log] [blame]
Thomas Vachuska02aeb032015-01-06 22:36:30 -08001/*
Brian O'Connor5ab426f2016-04-09 01:19:45 -07002 * Copyright 2015-present Open Networking Laboratory
Thomas Vachuska02aeb032015-01-06 22:36:30 -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 */
16package org.onosproject.app;
17
18import org.onosproject.core.Application;
19import org.onosproject.core.ApplicationId;
Changhoon Yoonb856b812015-08-10 03:47:19 +090020import org.onosproject.security.Permission;
Thomas Vachuska02aeb032015-01-06 22:36:30 -080021
22import java.util.Set;
23
24/**
25 * Adapter for testing against application service.
26 */
27public class ApplicationServiceAdapter implements ApplicationService {
28 @Override
29 public Set<Application> getApplications() {
30 return null;
31 }
32
33 @Override
34 public ApplicationId getId(String name) {
35 return null;
36 }
37
38 @Override
39 public Application getApplication(ApplicationId appId) {
40 return null;
41 }
42
43 @Override
44 public ApplicationState getState(ApplicationId appId) {
45 return null;
46 }
47
48 @Override
49 public Set<Permission> getPermissions(ApplicationId appId) {
50 return null;
51 }
52
53 @Override
Thomas Vachuskac65dd712015-11-04 17:19:10 -080054 public void registerDeactivateHook(ApplicationId appId, Runnable hook) {
55 }
56
57 @Override
Thomas Vachuska02aeb032015-01-06 22:36:30 -080058 public void addListener(ApplicationListener listener) {
59 }
60
61 @Override
62 public void removeListener(ApplicationListener listener) {
63 }
64}