|
Griffon 1.2.0 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Objectorg.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
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 |
---|
static final String WILDCARD
boolean exported
boolean inherited
String plugin
String scope
boolean transitivelyIncluded
Constructor Detail |
---|
EnhancedDefaultDependencyDescriptor(ModuleRevisionId mrid, boolean force, String scope)
EnhancedDefaultDependencyDescriptor(ModuleRevisionId mrid, boolean force, boolean transitive, String scope)
Method Detail |
---|
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()
boolean isSupportedInConfiguration(String conf)
void setChanging(boolean b)
void setExport(boolean b)
void setTransitive(boolean b)
Groovy Documentation