2 * Copyright (c) 2016 Cisco Systems. All rights reserved.
\r
4 * This program and the accompanying materials are made available under the
\r
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
\r
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
\r
9 package org.opendaylight.groupbasedpolicy.renderer.vpp.commands;
\r
11 import org.opendaylight.groupbasedpolicy.renderer.vpp.util.General;
\r
13 public abstract class AbstractInterfaceCommand<T extends AbstractInterfaceCommand<T>> implements ConfigCommand {
\r
15 protected General.Operations operation;
\r
16 protected String name;
\r
17 protected String description;
\r
18 protected Boolean enabled;
\r
20 protected enum linkUpDownTrap {
\r
24 public General.Operations getOperation() {
\r
28 public String getName() {
\r
32 public String getDescription() {
\r
36 public AbstractInterfaceCommand<T> setDescription(String description) {
\r
37 this.description = description;
\r
41 public Boolean getEnabled() {
\r
45 public AbstractInterfaceCommand<T> setEnabled(Boolean enabled) {
\r
46 this.enabled = enabled;
\r