blob: 4e5ccf8ea9e7b3d8f1ba0ae3f7693168ca5983b6 [file] [log] [blame]
Thomas Vachuska02aeb032015-01-06 22:36:30 -08001/*
2 * Copyright 2015 Open Networking Laboratory
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 */
16package org.onosproject.app;
17
18import org.onosproject.core.Application;
19import org.onosproject.core.ApplicationId;
20import org.onosproject.core.Permission;
21
22import java.io.InputStream;
23import java.util.Set;
24
25/**
26 * Adapter for testing against application admin service.
27 */
28public class ApplicationAdminServiceAdapter extends ApplicationServiceAdapter
29 implements ApplicationAdminService {
30 @Override
31 public Set<Application> getApplications() {
32 return null;
33 }
34
35 @Override
36 public Application getApplication(ApplicationId appId) {
37 return null;
38 }
39
40 @Override
41 public ApplicationState getState(ApplicationId appId) {
42 return null;
43 }
44
45 @Override
46 public Set<Permission> getPermissions(ApplicationId appId) {
47 return null;
48 }
49
50 @Override
51 public void addListener(ApplicationListener listener) {
52 }
53
54 @Override
55 public void removeListener(ApplicationListener listener) {
56 }
57
58 @Override
59 public Application install(InputStream appDescStream) {
60 return null;
61 }
62
63 @Override
64 public void uninstall(ApplicationId appId) {
65 }
66
67 @Override
68 public void activate(ApplicationId appId) {
69 }
70
71 @Override
72 public void deactivate(ApplicationId appId) {
73 }
74
75 @Override
76 public void setPermissions(ApplicationId appId, Set<Permission> permissions) {
77 }
78}