2 * Copyright (c) 2016 Ericsson Systems, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
9 package org.opendaylight.openflowplugin.openflow.md.core.sal;
12 * Created by eshuvka on 5/16/2016.
14 public class OpenflowPluginConfig {
16 private final boolean skipTableFeatures;
18 private OpenflowPluginConfig (OpenflowPluginConfigBuilder builder){
19 skipTableFeatures = builder.skipTableFeatures();
22 public boolean skipTableFeatures(){
23 return skipTableFeatures;
26 public static OpenflowPluginConfigBuilder builder(){
27 return new OpenflowPluginConfigBuilder();
30 public static class OpenflowPluginConfigBuilder{
31 private boolean skipTableFeatures;
33 public boolean skipTableFeatures(){
34 return skipTableFeatures;
37 public void setSkipTableFeatures(boolean skip){
38 skipTableFeatures = skip;
41 public OpenflowPluginConfig build() {return new OpenflowPluginConfig(this);}