Class FileNameMappingFactory
- java.lang.Object
-
- org.apache.maven.plugin.ear.output.FileNameMappingFactory
-
public class FileNameMappingFactory extends java.lang.Object
Provides access toFileNameMapping
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 1645331 2014-12-13 17:31:09Z khmarbaise $
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static java.lang.String
FULL_FILE_NAME_MAPPING
(package private) static java.lang.String
NO_VERSION_FILE_NAME_MAPPING
(package private) static java.lang.String
NO_VERSION_FOR_EJB_FILE_NAME_MAPPING
(package private) static java.lang.String
STANDARD_FILE_NAME_MAPPING
-
Constructor Summary
Constructors Modifier Constructor Description private
FileNameMappingFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FileNameMapping
getDefaultFileNameMapping()
static FileNameMapping
getFileNameMapping(java.lang.String nameOrClass)
Returns the file name mapping implementation based on a logical name of a fully qualified name of the class.
-
-
-
Field Detail
-
STANDARD_FILE_NAME_MAPPING
static final java.lang.String STANDARD_FILE_NAME_MAPPING
- See Also:
- Constant Field Values
-
FULL_FILE_NAME_MAPPING
static final java.lang.String FULL_FILE_NAME_MAPPING
- See Also:
- Constant Field Values
-
NO_VERSION_FILE_NAME_MAPPING
static final java.lang.String NO_VERSION_FILE_NAME_MAPPING
- See Also:
- Constant Field Values
-
NO_VERSION_FOR_EJB_FILE_NAME_MAPPING
static final java.lang.String NO_VERSION_FOR_EJB_FILE_NAME_MAPPING
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDefaultFileNameMapping
public static FileNameMapping getDefaultFileNameMapping()
- Returns:
StandardFileNameMapping
-
getFileNameMapping
public static FileNameMapping getFileNameMapping(java.lang.String nameOrClass)
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
-
-