org.codehaus.groovy.grails.resolve.config
Class DependencyConfigurationContext
java.lang.Object
org.codehaus.groovy.grails.resolve.config.DependencyConfigurationContext
public class DependencyConfigurationContext
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
dependencyManager
public final org.codehaus.groovy.grails.resolve.IvyDependencyManager dependencyManager
pluginName
public final java.lang.String pluginName
inherited
public final boolean inherited
exported
public final boolean exported
isOffline
public boolean isOffline()
setOffline
public void setOffline(boolean offline)
forApplication
public static DependencyConfigurationContext forApplication(org.codehaus.groovy.grails.resolve.IvyDependencyManager dependencyManager)
forPlugin
public static DependencyConfigurationContext forPlugin(org.codehaus.groovy.grails.resolve.IvyDependencyManager dependencyManager,
java.lang.String pluginName)
createInheritedContext
public DependencyConfigurationContext createInheritedContext()
getGrailsCoreDependencies
public GrailsCoreDependencies getGrailsCoreDependencies()
- Gives access to the grails core dependencies.
- Throws:
java.lang.IllegalStateException - If the dependency manager is unable to provide this information
setExcludeRules
public void setExcludeRules(org.apache.ivy.core.module.descriptor.ExcludeRule[] excludeRules)
getExcludeRules
public org.apache.ivy.core.module.descriptor.ExcludeRule[] getExcludeRules()
setParentScope
public void setParentScope(java.lang.String scope)
getParentScope
public java.lang.String getParentScope()