public class Dependency extends BaseBuildFileBean
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
SCOPE_BUILD |
localPath, md5, remotePath, sha1, sha256, typeARTIFACT, ARTIFACTS, DEPENDENCIES, DEPENDENCY, EXCLUDED_ARTIFACTS, MODULE, MODULES, ROOT, RUN_PARAMETERS| Constructor and Description |
|---|
Dependency() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getId()
Returns the ID of the dependency
|
java.util.List<java.lang.String> |
getRequiredBy()
Returns an ID list of dependencies that directly depend on this dependency.
|
java.util.Set<java.lang.String> |
getScopes()
Returns the scope list of the dependency
|
int |
hashCode() |
void |
setId(java.lang.String id)
Sets the ID of the dependency
|
void |
setRequiredBy(java.util.List<java.lang.String> requiredBy)
Sets an ID list of dependencies that directly depend on this dependency.
|
void |
setScopes(java.util.Set<java.lang.String> scopes)
Sets the scope list of the dependency
|
getLocalPath, getMd5, getRemotePath, getSha1, getSha256, getType, setLocalPath, setMd5, setRemotePath, setSha1, setSha256, setTypegetProperties, setPropertiesclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetProperties, setPropertiespublic static final java.lang.String SCOPE_BUILD
public java.lang.String getId()
public void setId(java.lang.String id)
id - Dependency IDpublic java.util.Set<java.lang.String> getScopes()
public void setScopes(java.util.Set<java.lang.String> scopes)
scopes - Dependency scope listpublic java.util.List<java.lang.String> getRequiredBy()
public void setRequiredBy(java.util.List<java.lang.String> requiredBy)
requiredBy - Required dependency IDs listpublic boolean equals(java.lang.Object o)
equals in class BaseBuildFileBeanpublic int hashCode()
hashCode in class BaseBuildFileBean