de.smartics.maven.plugin.buildmetadata.data
Class MetaDataProviderBuilder
java.lang.Object
de.smartics.maven.plugin.buildmetadata.data.MetaDataProviderBuilder
-
public final class MetaDataProviderBuilder
-
extends
Object
Configuration instance to create instances of MetaDataProvider
.
-
Author:
-
Robert Reiner
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MetaDataProviderBuilder
public MetaDataProviderBuilder(MavenProject project,
MavenSession session,
RuntimeInformation runtime,
ScmInfo scmInfo)
-
Default constructor.
-
Parameters:
-
project
- the Maven project.
-
session
- the Maven session instance.
-
runtime
- the runtime information of the Maven instance being executed for the build.
-
scmInfo
- the information for the SCM provided to the build plugin.
build
public MetaDataProvider build(Provider config)
throws MojoExecutionException
-
Creates a configured instance of the
MetaDataProvider
interface.
-
-
Parameters:
-
config
- the configuration for the build.
-
Returns:
-
the created instance.
-
Throws:
-
MojoExecutionException
- if the instance cannot be created.
Copyright © 2006-2012
Kronseder & Reiner GmbH - smartics. All Rights Reserved.