Fix gvnfm juju compile problem
[vfc/nfvo/driver/vnfm/gvnfm.git] / juju / juju-vnfmadapter / Juju-vnfmadapterService / service / src / main / java / org / onap / vfc / nfvo / vnfm / gvnfm / jujuvnfmadapter / common / SwitchController.java
1 /*
2  * Copyright 2016-2017 Huawei Technologies Co., Ltd.
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
17 package org.onap.vfc.nfvo.vnfm.gvnfm.jujuvnfmadapter.common;
18
19 /**
20  * <br/>
21  * <p>
22  *   to assist debug
23  * </p>
24  * 
25  * @author        
26  * @version     NFVO 0.5  Sep 13, 2016
27  */
28 public class SwitchController {
29     
30     /**
31      * turn debug model
32      */
33     private static boolean debugModel = false;
34     public static String vnfmServiceUrl = null;
35
36     public SwitchController() { //NOSONAR
37         //Constructor
38     }
39
40     /**
41      * @return Returns the debugModel.
42      */
43     public static boolean isDebugModel() {
44         return debugModel;
45     }
46
47     
48     /**
49      * @param debugModel The debugModel to set.
50      */
51     public static void setDebugModel(boolean debugModel) {
52         SwitchController.debugModel = debugModel;
53     }
54     
55 }