public class Dependency extends BaseBuildFileBean
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
SCOPE_BUILD |
md5, remotePath, sha1, sha256, type| Constructor and Description |
|---|
Dependency() |
| Modifier and Type | Method and Description |
|---|---|
void |
addRequestedBy(java.lang.String[] pathToModuleRoot)
Adds an ID of another dependency requested by this one to the required dependencies list.
|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getId()
Returns the ID of the dependency
|
java.lang.String[][] |
getRequestedBy()
Returns path-to-root dependency lists 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 |
setRequestedBy(java.lang.String[][] requestedBy)
Sets path-to-root dependency lists that directly depend on this dependency.
|
void |
setScopes(java.util.Set<java.lang.String> scopes)
Sets the scope list of the dependency
|
getMd5, getRemotePath, getSha1, getSha256, getType, 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.lang.String[][] getRequestedBy()
public void setRequestedBy(java.lang.String[][] requestedBy)
requestedBy - dependency path-to-root listspublic void addRequestedBy(java.lang.String[] pathToModuleRoot)
pathToModuleRoot - - path from parent dependency to the module ID, modules separatedpublic boolean equals(java.lang.Object o)
equals in class BaseBuildFileBeanpublic int hashCode()
hashCode in class BaseBuildFileBean