public class Dependency extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
private String |
artifactId
The Maven artifact ID of the dependency.
|
private String |
classifier
The Maven classifier of the dependency.
|
private String |
groupId
The Maven group ID of the dependency.
|
private boolean |
optional
Whether the dependency is optional or required.
|
private String |
scope
The Maven scope of the dependency - compile (default), runtime, etc.
|
private String |
systemPath
The system path of the file of the dependency artifact to use.
|
private String |
type
The Maven type of the dependency.
|
private String |
version
The version of the artifact to depend on.
|
Constructor and Description |
---|
Dependency() |
Modifier and Type | Method and Description |
---|---|
String |
getArtifactId() |
String |
getClassifier() |
String |
getGroupId() |
String |
getScope() |
String |
getSystemPath() |
String |
getType() |
String |
getVersion() |
boolean |
isOptional() |
void |
setArtifactId(String artifactId) |
void |
setClassifier(String classifier) |
void |
setGroupId(String groupId) |
void |
setOptional(boolean optional) |
void |
setScope(String scope) |
void |
setSystemPath(String systemPath) |
void |
setType(String type) |
void |
setVersion(String version) |
String |
toString() |
private String classifier
private boolean optional
private String systemPath
private String artifactId
public Dependency()
public void setClassifier(String classifier)
public String getClassifier()
public void setOptional(boolean optional)
public boolean isOptional()
public void setSystemPath(String systemPath)
public String getSystemPath()
public void setArtifactId(String artifactId)
public void setGroupId(String groupId)
public void setVersion(String version)
public String getVersion()
public String getArtifactId()
public String getGroupId()
Copyright © 2006–2023 The Apache Software Foundation. All rights reserved.