]> git.basschouten.com Git - openhab-addons.git/blob
80674d82edd1ba136a8b0d4cce0ce0ef2c14af00
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2023 Contributors to the openHAB project
3  *
4  * See the NOTICE file(s) distributed with this work for additional
5  * information.
6  *
7  * This program and the accompanying materials are made available under the
8  * terms of the Eclipse Public License 2.0 which is available at
9  * http://www.eclipse.org/legal/epl-2.0
10  *
11  * SPDX-License-Identifier: EPL-2.0
12  */
13 package org.openhab.binding.mikrotik.internal.model;
14
15 import java.util.Map;
16
17 import org.eclipse.jdt.annotation.NonNullByDefault;
18
19 /**
20  * The {@link RouterosBridgeInterface} is a model class for `bridge` interface models having casting accessors for
21  * data that is specific to this network interface kind. Is a subclass of {@link RouterosInterfaceBase}.
22  *
23  * @author Oleg Vivtash - Initial contribution
24  */
25 @NonNullByDefault
26 public class RouterosBridgeInterface extends RouterosInterfaceBase {
27     public RouterosBridgeInterface(Map<String, String> props) {
28         super(props);
29     }
30
31     @Override
32     public RouterosInterfaceType getDesignedType() {
33         return RouterosInterfaceType.BRIDGE;
34     }
35
36     @Override
37     public boolean hasDetailedReport() {
38         return false;
39     }
40
41     @Override
42     public boolean hasMonitor() {
43         return false;
44     }
45 }