public class Dependency extends Version
| 限定符和类型 | 字段和说明 |
|---|---|
protected String |
artifactId |
protected String |
author |
protected String |
groupId |
comment, majorVersion, minorVersion, name, revisionVersion, snapshot, website| 构造器和说明 |
|---|
Dependency() |
| 限定符和类型 | 方法和说明 |
|---|---|
static Dependency |
fromMap(Map<String,Object> map) |
String |
getArtifactId() |
String |
getAuthor() |
String |
getGroupId() |
boolean |
isSameDependency(Dependency dependency) |
boolean |
isSameDependency(String groupId,
String artifactId) |
void |
setArtifactId(String artifactId) |
void |
setAuthor(String author) |
void |
setGroupId(String groupId) |
String |
toString() |
compareTo, getComment, getMajorVersion, getMinorVersion, getName, getRevisionVersion, getWebsite, isSnapshot, setComment, setMajorVersion, setMinorVersion, setName, setRevisionVersion, setSnapshot, setVersion, setVersion, setWebsite, versionToStringprotected String groupId
protected String artifactId
protected String author
public String getGroupId()
public void setGroupId(String groupId)
public String getArtifactId()
public void setArtifactId(String artifactId)
public String getAuthor()
public void setAuthor(String author)
public static Dependency fromMap(Map<String,Object> map)
public boolean isSameDependency(Dependency dependency)
Copyright © 2016–2021. All rights reserved.