Griffon 1.2.0

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

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

@Command(scope = "griffon",
        name = "add-proxy",
        description = "Adds a proxy configuration")
public class AddProxyCommand
extends AbstractGriffonCommand

Authors:
Andres Almiray
Since:
0.9.5


Field Summary
private String host

private String name

private String password

private String port

private String username

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

 

Field Detail

host

@Option(name = "--host",
            description = "The proxy's hostname.",
            required = true)
private String host


name

@Argument(index = 0,
            name = "name",
            description = "Name for the proxy configuration.",
            required = true)
private String name


password

@Option(name = "--password",
            description = "Password credentials.",
            required = false)
private String password


port

@Option(name = "--port",
            description = "The proxy's port.",
            required = true)
private String port


username

@Option(name = "--username",
            description = "Username credentials.",
            required = false)
private String username


 
Constructor Detail

AddProxyCommand

AddProxyCommand()


 

Groovy Documentation