de.smartics.maven.plugin.buildmetadata.data
Class MavenMetaDataProvider

Package class diagram package MavenMetaDataProvider
java.lang.Object
  extended by de.smartics.maven.plugin.buildmetadata.data.AbstractMetaDataProvider
      extended by de.smartics.maven.plugin.buildmetadata.data.MavenMetaDataProvider
All Implemented Interfaces:
MetaDataProvider

public final class MavenMetaDataProvider
     
     
extends AbstractMetaDataProvider

Extracts information from the Maven project, session, and runtime information.

Author:
Robert Reiner

Field Summary
 
Fields inherited from class de.smartics.maven.plugin.buildmetadata.data.AbstractMetaDataProvider
project, runtime, scmInfo, session
 
Constructor Summary
MavenMetaDataProvider(MavenProject project, MavenSession session, RuntimeInformation runtime, MavenMetaDataSelection selection)
          Constructor.
 
Method Summary
 void provideBuildMetaData(Properties buildMetaDataProperties)
          Adds the information of the Maven runtime as build properties.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MavenMetaDataProvider

public MavenMetaDataProvider(MavenProject project,
                             MavenSession session,
                             RuntimeInformation runtime,
                             MavenMetaDataSelection selection)
Constructor.

Parameters:
project - the Maven project.
session - the Maven session instance.
runtime - the runtime information of the Maven instance being executed for the build.
selection - the selection of properties to be added or hidden.
See Also:
AbstractMetaDataProvider.AbstractMetaDataProvider()
Method Detail

provideBuildMetaData

public void provideBuildMetaData(Properties buildMetaDataProperties)
Adds the information of the Maven runtime as build properties.

Parameters:
buildMetaDataProperties - the build meta data properties.


Copyright © 2006-2012 Kronseder & Reiner GmbH - smartics. All Rights Reserved.