Utility methods for resolving plugin zips and information used in conjunction with an IvyDependencyManager instance.
Type | Name and description |
---|---|
DependencyManager |
dependencyManager |
groovy.lang.Closure |
messageReporter |
BuildSettings |
settings |
Constructor and description |
---|
PluginResolveEngine
(DependencyManager dependencyManager, BuildSettings settings) |
Type Params | Return Type | Name and description |
---|---|---|
|
DependencyManager |
createFreshDependencyManager() |
|
java.lang.Object |
createResolveArguments(java.lang.String pluginName, java.lang.String pluginVersion) |
|
protected java.lang.String |
getPluginInfoFooter() |
|
protected java.lang.String |
getPluginInfoHeader() |
|
protected void |
printDependencies(java.lang.Object output, java.lang.Object dependencies) |
|
protected void |
printLineSeparator(java.io.PrintWriter output) |
|
protected void |
printSectionTitle(java.io.PrintWriter output, java.lang.String title) |
|
void |
renderInstallInfo(java.lang.String pluginName, java.lang.String version, java.io.Writer writer) |
|
groovy.util.slurpersupport.GPathResult |
renderPluginInfo(java.lang.String pluginName, java.lang.String pluginVersion, java.io.OutputStream outputStream) Renders plugin info to the target writer |
|
groovy.util.slurpersupport.GPathResult |
renderPluginInfo(java.lang.String pluginName, java.lang.String pluginVersion, java.io.Writer writer) Renders plugin info to the target writer |
|
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 |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), 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() |
Renders plugin info to the target writer
pluginName
- The plugin namepluginVersion
- The plugin versionoutput
- The target writerRenders plugin info to the target writer
pluginName
- The plugin namepluginVersion
- The plugin versionoutput
- The target writerThis method will resolve the plugin.xml file for a given plugin without downloading the plugin zip itself
Resolve a Plugin zip for for the given name and plugin version
pluginName
- The plugin namepluginVersion
- The plugin versionGroovy Documentation