public class DefaultArtifactType extends Object implements ArtifactType
| Constructor and Description |
|---|
DefaultArtifactType(String id) |
DefaultArtifactType(String id,
String extension,
String classifier,
String language) |
DefaultArtifactType(String id,
String extension,
String classifier,
String language,
boolean constitutesBuildPath,
boolean includesDependencies) |
| Modifier and Type | Method and Description |
|---|---|
String |
getClassifier()
Gets the classifier to use for artifacts of this type (unless explicitly overridden by the artifact).
|
String |
getExtension()
Gets the file extension to use for artifacts of this type (unless explicitly overridden by the artifact).
|
String |
getId()
Gets the identifier of this type, e.g.
|
Map<String,String> |
getProperties()
Gets the properties to use for artifacts of this type (unless explicitly overridden by the artifact).
|
public DefaultArtifactType(String id)
public DefaultArtifactType(String id, String extension, String classifier, String language)
public String getId()
ArtifactTypegetId in interface ArtifactTypenull.public String getExtension()
ArtifactTypegetExtension in interface ArtifactTypenull.public String getClassifier()
ArtifactTypegetClassifier in interface ArtifactTypenull.public Map<String,String> getProperties()
ArtifactTypegetProperties in interface ArtifactTypenull.Copyright © 2010-2015 Sonatype, Inc.. All Rights Reserved.