org.apache.maven.plugin.ear.output
Class FileNameMappingFactory
java.lang.Object
org.apache.maven.plugin.ear.output.FileNameMappingFactory
public class FileNameMappingFactory
- extends Object
Provides access to FileNameMapping
implementations.
Two basic implementations are provided by default:
- standard: the default implementation
- full: an implementation that maps to a 'full' file name, i.e. containing the groupId
- Version:
- $Id: FileNameMappingFactory.java 942855 2010-05-10 19:13:52Z krosenvold $
- Author:
- Stephane Nicoll
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getDefaultFileNameMapping
public static FileNameMapping getDefaultFileNameMapping()
getFileNameMapping
public static FileNameMapping getFileNameMapping(String nameOrClass)
throws IllegalStateException
- Returns the file name mapping implementation based on a logical name
of a fully qualified name of the class.
- Parameters:
nameOrClass
- a name of the fqn of the implementation
- Returns:
- the file name mapping implementation
- Throws:
IllegalStateException
- if the implementation is not found
Copyright © 2002-2010 The Apache Software Foundation. All Rights Reserved.