public class Dependency extends Object implements Serializable, Cloneable
Constructor and Description |
---|
Dependency() |
Modifier and Type | Method and Description |
---|---|
void |
addExclusion(DependencyExclusion dependencyExclusion)
Method addExclusion.
|
Dependency |
clone()
Method clone.
|
String |
getArtifactId()
Get artifact ID of the dependency artifact.
|
String |
getClassifier()
Get classifier of the dependency artifact.
|
List<DependencyExclusion> |
getExclusions()
Method getExclusions.
|
String |
getExtension()
Get extension of the dependency artifact.
|
String |
getGroupId()
Get group ID of the dependency artifact.
|
String |
getNamespace()
Get a namespace within which this artifact is stored.
|
String |
getRequestedVersion()
Get version of the dependency artifact as defined in the
main
artifact descriptor.
|
String |
getResolvedVersion()
Get version of the dependency artifact, as resolved during
build.
|
void |
removeExclusion(DependencyExclusion dependencyExclusion)
Method removeExclusion.
|
void |
setArtifactId(String artifactId)
Set artifact ID of the dependency artifact.
|
void |
setClassifier(String classifier)
Set classifier of the dependency artifact.
|
void |
setExclusions(List<DependencyExclusion> exclusions)
Set list of dependency exclusions.
|
void |
setExtension(String extension)
Set extension of the dependency artifact.
|
void |
setGroupId(String groupId)
Set group ID of the dependency artifact.
|
void |
setNamespace(String namespace)
Set a namespace within which this artifact is stored.
|
void |
setRequestedVersion(String requestedVersion)
Set version of the dependency artifact as defined in the
main
artifact descriptor.
|
void |
setResolvedVersion(String resolvedVersion)
Set version of the dependency artifact, as resolved during
build.
|
public void addExclusion(DependencyExclusion dependencyExclusion)
dependencyExclusion
- public Dependency clone()
public String getArtifactId()
public String getClassifier()
public List<DependencyExclusion> getExclusions()
public String getExtension()
public String getGroupId()
public String getNamespace()
public String getRequestedVersion()
public String getResolvedVersion()
public void removeExclusion(DependencyExclusion dependencyExclusion)
dependencyExclusion
- public void setArtifactId(String artifactId)
artifactId
- public void setClassifier(String classifier)
classifier
- public void setExclusions(List<DependencyExclusion> exclusions)
exclusions
- public void setExtension(String extension)
extension
- public void setGroupId(String groupId)
groupId
- public void setNamespace(String namespace)
namespace
- public void setRequestedVersion(String requestedVersion)
requestedVersion
- public void setResolvedVersion(String resolvedVersion)
resolvedVersion
- Copyright © 2012–2018 Red Hat, Inc.. All rights reserved.