Remove yang-test
[controller.git] / opendaylight / config / yang-jmx-generator-plugin / src / main / java / org / opendaylight / controller / config / yangjmxgenerator / plugin / ftl / AbstractFactoryTemplate.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 com.google.common.collect.Lists;
11 import java.util.Collections;
12 import java.util.List;
13 import org.opendaylight.controller.config.spi.ModuleFactory;
14 import org.opendaylight.controller.config.yangjmxgenerator.plugin.ftl.model.Constructor;
15 import org.opendaylight.controller.config.yangjmxgenerator.plugin.ftl.model.Field;
16 import org.opendaylight.controller.config.yangjmxgenerator.plugin.ftl.model.Header;
17 import org.opendaylight.controller.config.yangjmxgenerator.plugin.ftl.model.MethodDefinition;
18
19 public class AbstractFactoryTemplate extends GeneralClassTemplate {
20
21     private static final List<String> IMPLEMENTED_IFCS = Lists
22             .newArrayList(ModuleFactory.class.getCanonicalName());
23
24     public AbstractFactoryTemplate(Header header, String packageName,
25                                    String abstractFactoryName,
26                                    List<Field> fields) {
27         super(header, packageName, abstractFactoryName, Collections
28                 .<String> emptyList(), IMPLEMENTED_IFCS, fields, Collections
29                 .<MethodDefinition> emptyList(), true, false, Collections
30                 .<Constructor> emptyList());
31     }
32 }

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.