|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rioproject.resolver.maven2.SimpleResolver
public class SimpleResolver
| Constructor Summary | |
|---|---|
SimpleResolver()
|
|
| Method Summary | |
|---|---|
protected groovy.lang.MetaClass |
$getStaticMetaClass()
|
protected String[] |
doResolve(String s,
File pom,
boolean download)
|
String[] |
getClassPathFor(String s,
File pom,
boolean download)
Get the classpath for an artifact, and resolve (download) the artifact and it's dependencies if needed. |
String[] |
getClassPathFor(String s,
RemoteRepository[] remote,
boolean download)
Get the classpath for an artifact, and resolve (download) the artifact and it's dependencies if needed. |
protected DependencyFilter |
getDependencyFilter(Artifact a)
|
URL |
getLocation(String a,
String aType,
File pomFile)
Get the location of the artifact |
static Logger |
getLogger()
|
Settings |
getM2settings()
|
groovy.lang.MetaClass |
getMetaClass()
|
Object |
getProperty(String property)
|
Collection<RemoteRepository> |
getRemoteRepositories()
Get the @{link RemoteRepository} instances the Resolver is using |
List<RemoteRepository> |
getRepositories()
|
Object |
invokeMethod(String method,
Object arguments)
|
static void |
main(String[] args)
|
static void |
setLogger(Logger value)
|
void |
setM2settings(Settings value)
|
void |
setMetaClass(groovy.lang.MetaClass mc)
|
void |
setProperty(String property,
Object value)
|
void |
setRepositories(List<RemoteRepository> value)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleResolver()
| Method Detail |
|---|
public groovy.lang.MetaClass getMetaClass()
getMetaClass in interface groovy.lang.GroovyObjectpublic void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass in interface groovy.lang.GroovyObject
public Object invokeMethod(String method,
Object arguments)
invokeMethod in interface groovy.lang.GroovyObjectpublic Object getProperty(String property)
getProperty in interface groovy.lang.GroovyObject
public void setProperty(String property,
Object value)
setProperty in interface groovy.lang.GroovyObjectpublic static Logger getLogger()
public static void setLogger(Logger value)
public Settings getM2settings()
public void setM2settings(Settings value)
public List<RemoteRepository> getRepositories()
public void setRepositories(List<RemoteRepository> value)
public static void main(String[] args)
public Collection<RemoteRepository> getRemoteRepositories()
Resolver
getRemoteRepositories in interface Resolver
public URL getLocation(String a,
String aType,
File pomFile)
Resolver
getLocation in interface Resolvera - The artifact string.aType - The type of artifact. Typically either "jar" or
"oar". If null (or empty string), "jar" is used. This is used to
determine the filename extension of the artifact to locate.pomFile - The artifact pom
public String[] getClassPathFor(String s,
RemoteRepository[] remote,
boolean download)
Resolver
getClassPathFor in interface Resolvers - The artifact string.remote - Array of repositories to use to resolve the artifactdownload - If true, download and install the resolved elements
public String[] getClassPathFor(String s,
File pom,
boolean download)
Resolver
getClassPathFor in interface Resolvers - The artifact string.pom - The artifact pomdownload - If true, download and install the resolved elements
protected String[] doResolve(String s,
File pom,
boolean download)
protected DependencyFilter getDependencyFilter(Artifact a)
public String toString()
toString in class Objectprotected groovy.lang.MetaClass $getStaticMetaClass()
|
Copyright © Rio Project. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||