Rio Project 4.2 API Documentation



org.rioproject.resolver
Class Artifact

java.lang.Object
  extended by org.rioproject.resolver.Artifact
All Implemented Interfaces:
groovy.lang.GroovyObject
Direct Known Subclasses:
Dependency

public class Artifact
extends Object
implements groovy.lang.GroovyObject


Constructor Summary
Artifact()
           
Artifact(String artifact)
           
Artifact(String groupId, String artifactId, String version)
           
Artifact(String groupId, String artifactId, String version, String classifier)
           
 
Method Summary
protected  groovy.lang.MetaClass $getStaticMetaClass()
           
 String getArtifactId()
           
 String getCheckSumPolicy()
           
 String getClassifier()
           
 String getFileName(String ext)
           
 String getGAV()
           
 String getGroupId()
           
 File getJar()
           
 URL getJarURL()
           
 boolean getLoadFromProject()
           
 groovy.lang.MetaClass getMetaClass()
           
 String getPath(String sep, String ext)
           
 File getPom()
           
 URL getPomURL()
           
 Object getProperty(String property)
           
 RemoteRepository getRemoteRepository()
           
 String getVersion()
           
 Object invokeMethod(String method, Object arguments)
           
 boolean isLoadFromProject()
           
 boolean isSnapshot()
           
 void setArtifactId(String value)
           
 void setCheckSumPolicy(String value)
           
 void setClassifier(String value)
           
 void setGroupId(String value)
           
 void setJar(File value)
           
 void setLoadFromProject(boolean value)
           
 void setMetaClass(groovy.lang.MetaClass mc)
           
 void setPom(File value)
           
 void setPomURL(URL value)
           
 void setProperty(String property, Object value)
           
 void setRemoteRepository(RemoteRepository value)
           
 void setVersion(String value)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Artifact

public Artifact()

Artifact

public Artifact(String groupId,
                String artifactId,
                String version)

Artifact

public Artifact(String groupId,
                String artifactId,
                String version,
                String classifier)

Artifact

public Artifact(String artifact)
Method Detail

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

getArtifactId

public String getArtifactId()

setArtifactId

public void setArtifactId(String value)

getGroupId

public String getGroupId()

setGroupId

public void setGroupId(String value)

getVersion

public String getVersion()

setVersion

public void setVersion(String value)

getClassifier

public String getClassifier()

setClassifier

public void setClassifier(String value)

getJar

public File getJar()

setJar

public void setJar(File value)

getPom

public File getPom()

setPom

public void setPom(File value)

getPomURL

public URL getPomURL()

setPomURL

public void setPomURL(URL value)

getCheckSumPolicy

public String getCheckSumPolicy()

setCheckSumPolicy

public void setCheckSumPolicy(String value)

getLoadFromProject

public boolean getLoadFromProject()

isLoadFromProject

public boolean isLoadFromProject()

setLoadFromProject

public void setLoadFromProject(boolean value)

getRemoteRepository

public RemoteRepository getRemoteRepository()

setRemoteRepository

public void setRemoteRepository(RemoteRepository value)

getJarURL

public URL getJarURL()

getPath

public String getPath(String sep,
                      String ext)

getFileName

public String getFileName(String ext)

isSnapshot

public boolean isSnapshot()

getGAV

public String getGAV()

toString

public String toString()
Overrides:
toString in class Object

$getStaticMetaClass

protected groovy.lang.MetaClass $getStaticMetaClass()

Copyright © Rio Project.

Copyright © 2006-2011 Rio Project. All Rights Reserved.