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()
ArtifactType
getId
in interface ArtifactType
null
.public String getExtension()
ArtifactType
getExtension
in interface ArtifactType
null
.public String getClassifier()
ArtifactType
getClassifier
in interface ArtifactType
null
.public Map<String,String> getProperties()
ArtifactType
getProperties
in interface ArtifactType
null
.Copyright © 2010-2012 Sonatype, Inc.. All Rights Reserved.