public class DefaultArtifactTypeHandler extends java.lang.Object implements ArtifactTypeHandler
Constructor and Description |
---|
DefaultArtifactTypeHandler() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
constructRepositoryDirectoryPath(java.lang.String type,
Project project)
Map an artifact to a repository directory path.
|
java.lang.String |
constructRepositoryFullPath(java.lang.String type,
Project project,
java.lang.String version)
Map an artifact to a repository path.
|
public java.lang.String constructRepositoryDirectoryPath(java.lang.String type, Project project)
constructRepositoryDirectoryPath
in interface ArtifactTypeHandler
project
- the project for the artifacttype
- The type of the artifactpublic java.lang.String constructRepositoryFullPath(java.lang.String type, Project project, java.lang.String version)
constructRepositoryFullPath
in interface ArtifactTypeHandler
project
- the project for the artifacttype
- The type of the artifactversion
- The version of the artifact (may be a snapshot)Copyright © 2001-2013 Apache Software Foundation. All Rights Reserved.