Rio Project 4.2 API Documentation



org.rioproject.resolver
Class Dependency

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

public class Dependency
extends Artifact


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

Constructor Detail

Dependency

public Dependency()

Dependency

public Dependency(String artifact)

Dependency

public Dependency(String groupId,
                  String artifactId,
                  String version,
                  String classifier)
Method Detail

getMetaClass

public groovy.lang.MetaClass getMetaClass()
Specified by:
getMetaClass in interface groovy.lang.GroovyObject
Overrides:
getMetaClass in class Artifact

setMetaClass

public void setMetaClass(groovy.lang.MetaClass mc)
Specified by:
setMetaClass in interface groovy.lang.GroovyObject
Overrides:
setMetaClass in class Artifact

invokeMethod

public Object invokeMethod(String method,
                           Object arguments)
Specified by:
invokeMethod in interface groovy.lang.GroovyObject
Overrides:
invokeMethod in class Artifact

getProperty

public Object getProperty(String property)
Specified by:
getProperty in interface groovy.lang.GroovyObject
Overrides:
getProperty in class Artifact

setProperty

public void setProperty(String property,
                        Object value)
Specified by:
setProperty in interface groovy.lang.GroovyObject
Overrides:
setProperty in class Artifact

getScope

public String getScope()

setScope

public void setScope(String value)

getOptional

public boolean getOptional()

isOptional

public boolean isOptional()

setOptional

public void setOptional(boolean value)

getExcluded

public boolean getExcluded()

isExcluded

public boolean isExcluded()

setExcluded

public void setExcluded(boolean value)

$getStaticMetaClass

protected groovy.lang.MetaClass $getStaticMetaClass()
Overrides:
$getStaticMetaClass in class Artifact

Copyright © Rio Project.

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