public abstract class ProjectNameMapper
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static ProjectNameMapper |
DEFAULT
The default name mapper assumes that the folder of the project corresponds
to the name of the product line (EASy conventions).
|
private static ProjectNameMapper |
instance |
| Constructor and Description |
|---|
ProjectNameMapper() |
| Modifier and Type | Method and Description |
|---|---|
static ProjectNameMapper |
getInstance()
Returns the actual instance.
|
abstract java.lang.String |
getName(java.io.File project)
Returns the name of the project.
|
static void |
setInstance(ProjectNameMapper mapper)
Defines the mapper instance to be used.
|
public static final ProjectNameMapper DEFAULT
private static ProjectNameMapper instance
public static void setInstance(ProjectNameMapper mapper)
mapper - the mapper instance (null is ignored)public static ProjectNameMapper getInstance()
public abstract java.lang.String getName(java.io.File project)
project - the project locationCopyright © 2009 - 2018 SSE. All Rights Reserved.