
org.opendaylight.yangtools.yang2sources.plugin.YangProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of yang-maven-plugin Show documentation
Show all versions of yang-maven-plugin Show documentation
This plugin is a wrapper for "yang to source code" generation.
It can be configured by a set of third-party code generators and resource providers.
For further info see available goals.
Sample usage:
TODO: add sample usage when finished
/*
* Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
package org.opendaylight.yangtools.yang2sources.plugin;
import com.google.common.annotations.VisibleForTesting;
import java.io.IOException;
import java.util.Collection;
import java.util.List;
import org.apache.maven.project.MavenProject;
import org.opendaylight.yangtools.yang.model.api.source.YangTextSource;
@FunctionalInterface
@VisibleForTesting
interface YangProvider {
List addYangsToMetaInf(MavenProject project, Collection modelsInProject)
throws IOException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy