Griffon 1.2.0

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

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

@Command(scope = "griffon",
        name = "generate-view-script",
        description = "Generates a view script from an existing class")
public class GenerateViewScriptCommand
extends AbstractGriffonCommand

Authors:
Andres Almiray
Since:
0.9.5


Field Summary
private String name

private String view

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

 

Field Detail

name

@Argument(index = 0,
            name = "name",
            description = "The name of Matisse view class.",
            required = false)
private String name


view

@Argument(index = 1,
            name = "view",
            description = "The name of Griffon View to be created.",
            required = false)
@Option(name = "--view",
            description = "The name of Griffon View to be created.",
            required = false)
private String view


 
Constructor Detail

GenerateViewScriptCommand

GenerateViewScriptCommand()


 

Groovy Documentation