|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectit.haefelinger.flaka.dep.Dependency
public class Dependency
| Field Summary | |
|---|---|
protected String |
alias
|
protected String |
alt
|
protected File |
file
|
protected String |
group
|
protected String |
jar
|
protected File |
location
|
protected String |
name
|
Project |
proj
|
protected Map |
props
|
protected String |
rev
|
protected String[] |
scope
|
protected String |
type
|
| Constructor Summary | |
|---|---|
Dependency(Project proj)
|
|
| Method Summary | |
|---|---|
String |
basename()
|
Object |
clone()
|
boolean |
equals(Object other)
Checks this Dep against another dependency for equality |
String |
getAlias()
|
String |
getAlt()
|
String |
getArtifactId()
|
String |
getBasename()
|
File |
getFile()
|
String |
getGroup()
|
String |
getGroupId()
|
String |
getJar()
|
File |
getLocation()
|
String |
getM1path()
|
String |
getM2path()
|
String |
getName()
|
String |
getProperty(String key)
Returns a property value |
String |
getRev()
|
String[] |
getScope()
|
String |
getType()
|
String |
getVersion()
|
String |
m1path()
Returns the path expected on the remote repository |
String |
m2path()
Returns the path expected on the remote repository |
String |
putProperty(String key,
String value)
Sets a property value |
int |
resolve(Properties P)
Resolve properties within this dependency .. |
void |
setAlias(String S)
|
void |
setArtifactId(String string)
|
void |
setFile(File file)
|
void |
setGroupId(String string)
|
void |
setJar(String string)
|
Dependency |
setLocation(File location)
|
void |
setScope(String s)
|
void |
setType(String string)
Sets the type (or extension) of the dependency |
void |
setUrl(String string)
|
void |
setVersion(String string)
|
String |
toAliased()
|
String |
toString()
|
protected String |
tostring(boolean aliased)
|
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected String alias
protected String rev
protected String type
protected String group
protected String name
protected String jar
protected String[] scope
protected Map props
protected File file
protected File location
protected String alt
public Project proj
| Constructor Detail |
|---|
public Dependency(Project proj)
| Method Detail |
|---|
public Object clone()
clone in class Objectpublic String getAlias()
public void setAlias(String S)
public String getAlt()
public String getVersion()
public String getRev()
public String getGroup()
public String getName()
public void setUrl(String string)
string - public void setVersion(String string)
string - public String getType()
public void setType(String string)
string - public String getArtifactId()
public String getGroupId()
public String getJar()
public void setArtifactId(String string)
string - public void setGroupId(String string)
string - public void setJar(String string)
string - public String[] getScope()
public void setScope(String s)
public File getLocation()
public Dependency setLocation(File location)
x - this dependency has been declared in loc x.public void setFile(File file)
public File getFile()
public String getBasename()
public String getM1path()
public String getM2path()
public String basename()
public String m1path()
public String m2path()
public String toString()
toString in class Objectpublic String toAliased()
protected String tostring(boolean aliased)
public String putProperty(String key,
String value)
key - the property key to setvalue - the property value to set
public String getProperty(String key)
key - the property key to retrieve
public boolean equals(Object other)
equals in class Objectpublic int resolve(Properties P)
P - project's properties are used to resolve this dependency.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||