de.smartics.maven.plugin.buildmetadata
Class FileMapping

Package class diagram package FileMapping
java.lang.Object
  extended by de.smartics.maven.plugin.buildmetadata.FileMapping

public final class FileMapping
     
     
extends Object

Maps an properties output file location to a packaging.

Author:
Robert Reiner

Constructor Summary
FileMapping()
          Default constructor for Maven.
FileMapping(String packaging, File outputFile)
          Default constructor for Maven.
 
Method Summary
 File getOutputFile()
          Returns the name of the properties file to write.
 String getPackaging()
          Returns the project's packaging as specified in the packaging element of a POM to be mapped to a location to write the build.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileMapping

public FileMapping()
Default constructor for Maven.


FileMapping

public FileMapping(String packaging,
                   File outputFile)
Default constructor for Maven.

Parameters:
packaging - the project's packaging as specified in the packaging element of a POM to be mapped to a location to write the build.
outputFile - the name of the properties file to write.
Method Detail

getPackaging

public String getPackaging()
Returns the project's packaging as specified in the packaging element of a POM to be mapped to a location to write the build. properties.

Returns:
the project's packaging as specified in the packaging element of a POM to be mapped to a location to write the build.

getOutputFile

public File getOutputFile()
Returns the name of the properties file to write.

Returns:
the name of the properties file to write.


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