|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Object org.codehaus.groovy.grails.resolve.PluginResolveEngine
final class PluginResolveEngine
Utility methods for resolving plugin zips and information used in conjunction with an IvyDependencyManager instance.
Property Summary | |
---|---|
IvyDependencyManager |
dependencyManager
|
groovy.lang.Closure |
messageReporter
|
BuildSettings |
settings
|
Constructor Summary | |
PluginResolveEngine(IvyDependencyManager dependencyManager, BuildSettings settings)
|
Method Summary | |
---|---|
IvyDependencyManager
|
createFreshDependencyManager()
|
java.lang.Object
|
createResolveArguments(java.lang.String pluginName, java.lang.String pluginVersion)
|
groovy.util.slurpersupport.GPathResult
|
resolvePluginMetadata(java.lang.String pluginName, java.lang.String pluginVersion)
This method will resolve the plugin.xml file for a given plugin without downloading the plugin zip itself |
java.io.File
|
resolvePluginZip(java.lang.String pluginName, java.lang.String pluginVersion, java.lang.String scope = "", java.util.Map args = [:])
Resolve a Plugin zip for for the given name and plugin version |
ResolveReport
|
resolvePlugins(java.util.List pluginsToInstall, java.lang.String scope = '')
Resolves a list of plugins and produces a ResolveReport |
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Property Detail |
---|
IvyDependencyManager dependencyManager
groovy.lang.Closure messageReporter
BuildSettings settings
Constructor Detail |
---|
PluginResolveEngine(IvyDependencyManager dependencyManager, BuildSettings settings)
Method Detail |
---|
IvyDependencyManager createFreshDependencyManager()
java.lang.Object createResolveArguments(java.lang.String pluginName, java.lang.String pluginVersion)
groovy.util.slurpersupport.GPathResult resolvePluginMetadata(java.lang.String pluginName, java.lang.String pluginVersion)
java.io.File resolvePluginZip(java.lang.String pluginName, java.lang.String pluginVersion, java.lang.String scope = "", java.util.Map args = [:])
pluginName
- The plugin namepluginVersion
- The plugin version
ResolveReport resolvePlugins(java.util.List pluginsToInstall, java.lang.String scope = '')
pluginsToInstall
- The list of pluginsscope
- The scope (defaults to runtime)
Groovy Documentation