Griffon 1.2.0

org.codehaus.griffon.cli.shell.command
[Java] Class InstallPluginCommand

java.lang.Object
  org.codehaus.griffon.cli.shell.AbstractGriffonCommand
      org.codehaus.griffon.cli.shell.command.InstallPluginCommand

@Command(scope = "griffon",
        name = "install-plugin",
        description = "Installs a plugin for the given URL or name and version")
public class InstallPluginCommand
extends AbstractGriffonCommand

Authors:
Andres Almiray
Since:
0.9.5


Field Summary
private String forceUpgrade

private boolean framework

private String name

private boolean noclean

private String repository

private String version

 
Fields inherited from class AbstractGriffonCommand
env, nonInteractive
 
Constructor Summary
InstallPluginCommand()

 

Field Detail

forceUpgrade

@Option(name = "--force-upgrade",
            description = "Forces upgrade if the plugin to be installed has a bigger major version than the currently installed (if there's one plugin installed that matches the same name).",
            required = false)
private String forceUpgrade


framework

@Option(name = "--framework",
            description = "Installs the plugin as a framework plugin.",
            required = false)
private boolean framework


name

@Argument(index = 0,
            name = "name",
            description = "The name of the plugin to install. You may specify an URL, a zip file or a regular name.",
            required = true)
private String name


noclean

@Option(name = "--noclean",
        description = "Do not clean project after plugin has been installed.",
        required = false)
private boolean noclean


repository

@Option(name = "--repository",
            description = "Name of an specific repository where the search will be performed.",
            required = false)
private String repository


version

@Argument(index = 1,
            name = "version",
            description = "The version of the plugin to install. May only be specified if an plugin name is supplied.",
            required = false)
private String version


 
Constructor Detail

InstallPluginCommand

InstallPluginCommand()


 

Groovy Documentation