2 * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
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
8 package org.opendaylight.controller.yang2sources.spi;
11 import java.util.Collection;
15 import org.apache.maven.plugin.logging.Log;
16 import org.apache.maven.project.MavenProject;
17 import org.opendaylight.controller.yang.model.api.Module;
18 import org.opendaylight.controller.yang.model.api.SchemaContext;
20 public class CodeGeneratorTestImpl implements CodeGenerator {
25 public Collection<File> generateSources(SchemaContext context,
26 File outputBaseDir, Set<Module> currentModuleBuilders) {
28 log.debug(getClass().getCanonicalName()
29 + " generateSources:context: " + context);
30 log.debug(getClass().getCanonicalName()
31 + " generateSources:outputBaseDir: " + outputBaseDir);
32 log.debug(getClass().getCanonicalName()
33 + " generateSources:currentModuleBuilders: "
34 + currentModuleBuilders);
41 public void setLog(Log log) {
46 public void setAdditionalConfig(Map<String, String> additionalConfiguration) {
48 log.debug(getClass().getCanonicalName() + " additionalConfig: "
49 + additionalConfiguration);
54 public void setResourceBaseDir(File resourceBaseDir) {
56 log.debug(getClass().getCanonicalName() + " resourceBaseDir: "
61 public void setMavenProject(MavenProject project) {
63 log.debug(getClass().getCanonicalName() + " maven project: "