blob: 335d9f1dfaa7283537254d037fa92094a69fe494 [file] [log] [blame]
Bri Prebilic Cole09e464b2015-01-07 17:13:54 -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 */
16
17package org.onosproject.net.intent;
18
19import java.util.List;
20
21/**
22 * Test adapter for intent service.
23 */
24public class IntentServiceAdapter implements IntentService {
25 @Override
26 public void submit(Intent intent) {
27
28 }
29
30 @Override
31 public void withdraw(Intent intent) {
32
33 }
34
35 @Override
36 public void replace(IntentId oldIntentId, Intent newIntent) {
37
38 }
39
40 @Override
41 public void execute(IntentOperations operations) {
42
43 }
44
45 @Override
46 public Iterable<Intent> getIntents() {
47 return null;
48 }
49
50 @Override
51 public long getIntentCount() {
52 return 0;
53 }
54
55 @Override
56 public Intent getIntent(IntentId id) {
57 return null;
58 }
59
60 @Override
61 public IntentState getIntentState(IntentId id) {
62 return null;
63 }
64
65 @Override
66 public List<Intent> getInstallableIntents(IntentId intentId) {
67 return null;
68 }
69
70 @Override
71 public void addListener(IntentListener listener) {
72
73 }
74
75 @Override
76 public void removeListener(IntentListener listener) {
77
78 }
79}