public class Dependency extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
Dependency.DependencyBuilder |
| Constructor and Description |
|---|
Dependency() |
Dependency(String groupId,
String artifactId,
String version,
String type,
String scope,
File file) |
| Modifier and Type | Method and Description |
|---|---|
static Dependency.DependencyBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
String |
getArtifactId()
Maven artifact ID.
|
File |
getFile()
Dependency file.
|
String |
getGroupId()
Maven group ID.
|
String |
getScope()
Dependency scope (e.g.
|
String |
getType()
Dependency type (e.g.
|
String |
getVersion()
Maven version.
|
int |
hashCode() |
void |
setArtifactId(String artifactId)
Maven artifact ID.
|
void |
setFile(File file)
Dependency file.
|
void |
setGroupId(String groupId)
Maven group ID.
|
void |
setScope(String scope)
Dependency scope (e.g.
|
void |
setType(String type)
Dependency type (e.g.
|
void |
setVersion(String version)
Maven version.
|
public Dependency(String groupId, String artifactId, String version, String type, String scope, File file)
public Dependency()
public static Dependency.DependencyBuilder builder()
public String getGroupId()
public String getArtifactId()
public String getVersion()
public String getType()
public String getScope()
public File getFile()
public void setGroupId(String groupId)
groupId - New maven group ID for the dependency.public void setArtifactId(String artifactId)
artifactId - New maven artifact ID for the dependency.public void setVersion(String version)
version - New maven version for the dependency.public void setType(String type)
type - New type for the dependency.public void setScope(String scope)
scope - New scope for the dependency.public void setFile(File file)
file - New file for the dependency.protected boolean canEqual(Object other)
Copyright © 2021. All rights reserved.