Merge "BUG-2288: DOMNotification API"
[controller.git] / opendaylight / config / yang-jmx-generator-plugin / src / main / java / org / opendaylight / controller / config / yangjmxgenerator / plugin / ftl / GeneralInterfaceTemplate.java
1 /*
2  * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
3  *
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
7  */
8 package org.opendaylight.controller.config.yangjmxgenerator.plugin.ftl;
9
10 import java.util.Collections;
11 import java.util.List;
12 import org.opendaylight.controller.config.yangjmxgenerator.plugin.ftl.model.Field;
13 import org.opendaylight.controller.config.yangjmxgenerator.plugin.ftl.model.Header;
14 import org.opendaylight.controller.config.yangjmxgenerator.plugin.ftl.model.MethodDeclaration;
15 import org.opendaylight.controller.config.yangjmxgenerator.plugin.ftl.model.TypeDeclaration;
16
17 public class GeneralInterfaceTemplate extends AbstractFtlTemplate {
18
19     public GeneralInterfaceTemplate(Header header, String packageName,
20             String name, List<String> extendedInterfaces,
21             List<MethodDeclaration> methods) {
22         super(header, packageName, Collections.<Field> emptyList(), methods,
23                 new TypeDeclaration("interface", name, extendedInterfaces,
24                         Collections.<String> emptyList()));
25     }
26 }