Griffon 1.2.0

org.codehaus.griffon.resolve
[Groovy] Class EnhancedDefaultDependencyDescriptor

java.lang.Object
  org.apache.ivy.core.module.descriptor.DefaultDependencyDescriptor
      org.codehaus.griffon.resolve.EnhancedDefaultDependencyDescriptor

class EnhancedDefaultDependencyDescriptor
extends DefaultDependencyDescriptor

Adds new methods to make access to this class Groovier

Authors:
Graeme Rocher (Grails 1.2)


Property Summary
static String WILDCARD

boolean exported

Whether a plugin dependencies is 'exported' to the application

boolean inherited

Whether the dependency is inherited from a plugin or framework and not an application dependency

String plugin

Plugin that the dependency relates to, null if it is a framework or application dependency

String scope

Configuration scope of the plugin 'runtime', 'build', 'test' etc.

boolean transitivelyIncluded

Whether this is a transitive plugin

 
Constructor Summary
EnhancedDefaultDependencyDescriptor(ModuleRevisionId mrid, boolean force, String scope)

EnhancedDefaultDependencyDescriptor(ModuleRevisionId mrid, boolean force, boolean transitive, String scope)

 
Method Summary
void addRuleForModuleId(ModuleId mid, String scope, String type = WILDCARD, String ext = WILDCARD)

EnhancedDefaultDependencyDescriptor configure(Closure configurer)

void dependencyConfiguration(String config)

void exclude(def exclude)

private def excludeForMap(Map args)

private def excludeForString(String dep)

void excludes(Object... args)

boolean isExportedToApplication()

Whether the dependency should be exposed to the application

boolean isSupportedInConfiguration(String conf)

void setChanging(boolean b)

void setExport(boolean b)

void setTransitive(boolean b)

 

Property Detail

WILDCARD

static final String WILDCARD


exported

boolean exported
Whether a plugin dependencies is 'exported' to the application


inherited

boolean inherited
Whether the dependency is inherited from a plugin or framework and not an application dependency


plugin

String plugin
Plugin that the dependency relates to, null if it is a framework or application dependency


scope

String scope
Configuration scope of the plugin 'runtime', 'build', 'test' etc.


transitivelyIncluded

boolean transitivelyIncluded
Whether this is a transitive plugin


 
Constructor Detail

EnhancedDefaultDependencyDescriptor

EnhancedDefaultDependencyDescriptor(ModuleRevisionId mrid, boolean force, String scope)


EnhancedDefaultDependencyDescriptor

EnhancedDefaultDependencyDescriptor(ModuleRevisionId mrid, boolean force, boolean transitive, String scope)


 
Method Detail

addRuleForModuleId

void addRuleForModuleId(ModuleId mid, String scope, String type = WILDCARD, String ext = WILDCARD)


configure

EnhancedDefaultDependencyDescriptor configure(Closure configurer)


dependencyConfiguration

void dependencyConfiguration(String config)


exclude

void exclude(def exclude)


excludeForMap

private def excludeForMap(Map args)


excludeForString

private def excludeForString(String dep)


excludes

void excludes(Object... args)


isExportedToApplication

boolean isExportedToApplication()
Whether the dependency should be exposed to the application


isSupportedInConfiguration

boolean isSupportedInConfiguration(String conf)


setChanging

void setChanging(boolean b)


setExport

void setExport(boolean b)


setTransitive

void setTransitive(boolean b)


 

Groovy Documentation