org.onosproject.net.config.NetworkConfigServiceAdapter Maven / Gradle / Ivy
/*
* Copyright 2015-present Open Networking Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.onosproject.net.config;
import com.fasterxml.jackson.databind.JsonNode;
import com.google.common.collect.ImmutableSet;
import java.util.Set;
/**
* Test adapter for network configuration service.
*/
public class NetworkConfigServiceAdapter implements NetworkConfigService {
@Override
public Set getSubjectClasses() {
return ImmutableSet.of();
}
@Override
public SubjectFactory getSubjectFactory(String subjectClassKey) {
return null;
}
@Override
public SubjectFactory getSubjectFactory(Class subjectClass) {
return null;
}
@Override
public Class extends Config> getConfigClass(String subjectClassKey, String configKey) {
return null;
}
@Override
public Set getSubjects(Class subjectClass) {
return ImmutableSet.of();
}
@Override
public > Set getSubjects(Class subjectClass, Class configClass) {
return ImmutableSet.of();
}
@Override
public Set extends Config> getConfigs(S subject) {
return ImmutableSet.of();
}
@Override
public > C getConfig(S subject, Class configClass) {
return null;
}
@Override
public > C addConfig(S subject, Class configClass) {
return null;
}
@Override
public > C applyConfig(S subject, Class configClass, JsonNode json) {
return null;
}
@Override
public > C applyConfig(String subjectClassKey, S subject, String configKey, JsonNode json) {
return null;
}
@Override
public > void removeConfig(S subject, Class configClass) {
}
@Override
public void removeConfig(String subjectClassKey, S subject, String configKey) {
}
@Override
public void addListener(NetworkConfigListener listener) {
}
@Override
public void removeListener(NetworkConfigListener listener) {
}
@Override
public void removeConfig(S subject) {
}
@Override
public void removeConfig() {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy