@Component(role=ArtifactHandler.class) public class DefaultArtifactHandler extends Object implements ArtifactHandler
ROLE
Constructor and Description |
---|
DefaultArtifactHandler() |
DefaultArtifactHandler(String type) |
Modifier and Type | Method and Description |
---|---|
String |
getClassifier()
Get the classifier associated to the dependency type.
|
String |
getDirectory() |
String |
getExtension()
Get the file extension associated to the file represented by the dependency type.
|
String |
getLanguage() |
String |
getPackaging() |
String |
getType() |
boolean |
isAddedToClasspath() |
boolean |
isIncludesDependencies() |
void |
setAddedToClasspath(boolean addedToClasspath) |
void |
setExtension(String extension) |
void |
setIncludesDependencies(boolean includesDependencies) |
void |
setLanguage(String language) |
public DefaultArtifactHandler()
public DefaultArtifactHandler(String type)
public String getExtension()
ArtifactHandler
getExtension
in interface ArtifactHandler
public void setExtension(String extension)
public String getType()
public String getClassifier()
ArtifactHandler
getClassifier
in interface ArtifactHandler
public String getDirectory()
getDirectory
in interface ArtifactHandler
public String getPackaging()
getPackaging
in interface ArtifactHandler
public boolean isIncludesDependencies()
isIncludesDependencies
in interface ArtifactHandler
public void setIncludesDependencies(boolean includesDependencies)
public String getLanguage()
getLanguage
in interface ArtifactHandler
public void setLanguage(String language)
public boolean isAddedToClasspath()
isAddedToClasspath
in interface ArtifactHandler
public void setAddedToClasspath(boolean addedToClasspath)
Copyright © 2001–2019 The Apache Software Foundation. All rights reserved.