Resolve Bug:445 Remove freemarker from config code generator.
[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
13 import org.opendaylight.controller.config.yangjmxgenerator.plugin.ftl.model.Field;
14 import org.opendaylight.controller.config.yangjmxgenerator.plugin.ftl.model.Header;
15 import org.opendaylight.controller.config.yangjmxgenerator.plugin.ftl.model.MethodDeclaration;
16 import org.opendaylight.controller.config.yangjmxgenerator.plugin.ftl.model.TypeDeclaration;
17
18 public class GeneralInterfaceTemplate extends AbstractFtlTemplate {
19
20     public GeneralInterfaceTemplate(Header header, String packageName,
21             String name, List<String> extendedInterfaces,
22             List<MethodDeclaration> methods) {
23         super(header, packageName, Collections.<Field> emptyList(), methods,
24                 new TypeDeclaration("interface", name, extendedInterfaces,
25                         Collections.<String> emptyList()));
26     }
27 }