Rio Project 4.2 API Documentation
org.rioproject.resolver.maven2
Class ArtifactUtils
java.lang.Object
org.rioproject.resolver.maven2.ArtifactUtils
- All Implemented Interfaces:
- groovy.lang.GroovyObject
public class ArtifactUtils
- extends Object
- implements groovy.lang.GroovyObject
|
Method Summary |
protected groovy.lang.MetaClass |
$getStaticMetaClass()
|
URL |
getArtifactPomURLFromRepository(Artifact artifact,
File localRepo,
List<RemoteRepository> remoteRepositories)
|
URL |
getArtifactURLFromRepository(Artifact artifact,
String ext,
File localRepo,
List<RemoteRepository> remoteRepositories)
|
Map<String,List<String>> |
getFailedLookups()
|
static File |
getLocalFile(Artifact a,
File repoRoot,
String ext)
|
static File |
getLocalFile(Artifact a,
String repoRoot,
String ext)
|
static Logger |
getLogger()
|
groovy.lang.MetaClass |
getMetaClass()
|
Object |
getProperty(String property)
|
Object |
invokeMethod(String method,
Object arguments)
|
static boolean |
isArtifact(String s)
|
void |
setFailedLookups(Map<String,List<String>> value)
|
static void |
setLogger(Logger value)
|
void |
setMetaClass(groovy.lang.MetaClass mc)
|
void |
setProperty(String property,
Object value)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArtifactUtils
public ArtifactUtils()
getMetaClass
public groovy.lang.MetaClass getMetaClass()
- Specified by:
getMetaClass in interface groovy.lang.GroovyObject
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc)
- Specified by:
setMetaClass in interface groovy.lang.GroovyObject
invokeMethod
public Object invokeMethod(String method,
Object arguments)
- Specified by:
invokeMethod in interface groovy.lang.GroovyObject
getProperty
public Object getProperty(String property)
- Specified by:
getProperty in interface groovy.lang.GroovyObject
setProperty
public void setProperty(String property,
Object value)
- Specified by:
setProperty in interface groovy.lang.GroovyObject
getLogger
public static Logger getLogger()
setLogger
public static void setLogger(Logger value)
getFailedLookups
public Map<String,List<String>> getFailedLookups()
setFailedLookups
public void setFailedLookups(Map<String,List<String>> value)
isArtifact
public static boolean isArtifact(String s)
getArtifactPomURLFromRepository
public URL getArtifactPomURLFromRepository(Artifact artifact,
File localRepo,
List<RemoteRepository> remoteRepositories)
throws MalformedURLException
- Throws:
MalformedURLException
getArtifactURLFromRepository
public URL getArtifactURLFromRepository(Artifact artifact,
String ext,
File localRepo,
List<RemoteRepository> remoteRepositories)
throws MalformedURLException
- Throws:
MalformedURLException
getLocalFile
public static File getLocalFile(Artifact a,
File repoRoot,
String ext)
getLocalFile
public static File getLocalFile(Artifact a,
String repoRoot,
String ext)
$getStaticMetaClass
protected groovy.lang.MetaClass $getStaticMetaClass()
Copyright © 2006-2011 Rio Project. All Rights Reserved.