blob: 265c2a6d22e6e3be1e856fca128059f8335c1594 [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;
21import org.onosproject.store.AbstractStore;
22
23import java.io.InputStream;
24import java.util.Set;
25
26/**
27 * Adapter for application testing against application store.
28 */
29public class ApplicationStoreAdapter
30 extends AbstractStore<ApplicationEvent, ApplicationStoreDelegate>
31 implements ApplicationStore {
32 @Override
33 public Set<Application> getApplications() {
34 return null;
35 }
36
37 @Override
38 public ApplicationId getId(String name) {
39 return null;
40 }
41
42 @Override
43 public Application getApplication(ApplicationId appId) {
44 return null;
45 }
46
47 @Override
48 public ApplicationState getState(ApplicationId appId) {
49 return null;
50 }
51
52 @Override
53 public Application create(InputStream appDescStream) {
54 return null;
55 }
56
57 @Override
58 public void remove(ApplicationId appId) {
59 }
60
61 @Override
62 public void activate(ApplicationId appId) {
63 }
64
65 @Override
66 public void deactivate(ApplicationId appId) {
67 }
68
69 @Override
70 public Set<Permission> getPermissions(ApplicationId appId) {
71 return null;
72 }
73
74 @Override
75 public void setPermissions(ApplicationId appId, Set<Permission> permissions) {
76 }
77
78}