172a2f25b67dcd03ed540bda966593e68bd0d367
[controller.git] / opendaylight / sal / yang-prototype / code-generator / maven-yang / src / test / java / org / opendaylight / controller / yang2sources / spi / CodeGeneratorTestImpl.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.yang2sources.spi;
9
10 import java.io.File;
11 import java.util.Collection;
12 import java.util.Map;
13 import java.util.Set;
14
15 import org.apache.maven.plugin.logging.Log;
16 import org.opendaylight.controller.yang.model.api.Module;
17 import org.opendaylight.controller.yang.model.api.SchemaContext;
18
19 public class CodeGeneratorTestImpl implements CodeGenerator {
20
21     @Override
22     public Collection<File> generateSources(SchemaContext context,
23             File outputBaseDir, Set<Module> currentModuleBuilders,
24             File projectMainDir) {
25         // no-op
26         return null;
27     }
28
29     @Override
30     public void setLog(Log log) {
31         // no-op
32     }
33
34     @Override
35     public void setAdditionalConfig(Map<String, String> additionalConfiguration) {
36         // no-op
37     }
38
39 }