public abstract class AbstractFileNameMapping extends Object implements FileNameMapping
Artifact.getFile().| Constructor and Description |
|---|
AbstractFileNameMapping() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
generateFileName(Artifact a,
boolean addVersion)
Generates a standard file name for the specified
Artifact. |
void |
setUseBaseVersion(boolean useBaseVersion) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmapFileNamepublic final void setUseBaseVersion(boolean useBaseVersion)
setUseBaseVersion in interface FileNameMappinguseBaseVersion - true if the base version will be use false otherwise.protected String generateFileName(Artifact a, boolean addVersion)
Artifact.
Returns something like artifactId-version[-classifier].extension if addVersion is true.
Otherwise it generates something like artifactId[-classifier].extensiona - the artifact to generate a filename fromaddVersion - whether the version should be addedCopyright © 2002–2015 The Apache Software Foundation. All rights reserved.