|
Griffon 1.2.0 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.griffon.cli.shell.AbstractGriffonCommand
org.codehaus.griffon.cli.shell.command.CreateMvcCommand
@Command(scope = "griffon", name = "create-mvc", description = "Creates a new MVC Group", detailedDescription = "classpath:create-mvc.txt") public class CreateMvcCommand extends AbstractGriffonCommand
Field Summary | |
---|---|
private String |
archetype
|
private String |
controller
|
private String |
fileType
|
private String |
group
|
private String |
model
|
private String |
name
|
private String |
skipController
|
private String |
skipModel
|
private boolean |
skipPackagePrompt
|
private String |
skipView
|
private String |
view
|
private String |
withController
|
private String |
withModel
|
private String |
withView
|
Fields inherited from class AbstractGriffonCommand | |
---|---|
env, nonInteractive |
Constructor Summary | |
CreateMvcCommand()
|
Field Detail |
---|
@Option(name = "--archetype", description = "Archetype to be searched for templates.", required = false) private String archetype
@Option(name = "--controller", description = "Specifies the Controller template to be used.", required = false) private String controller
@Option(name = "--file-type", description = "Source file type.", required = false) private String fileType
@Option(name = "--group", description = "Specifies the common template to use on all MVC members.", required = false) private String group
@Option(name = "--model", description = "Specifies the Model template to be used.", required = false) private String model
@Argument(index = 0, name = "name", description = "The name of the group to be created.", required = false) private String name
@Option(name = "--skip-controller", description = "Skips the creation of the controller MVC member.", required = false) private String skipController
@Option(name = "--skip-model", description = "Skips the creation of the model MVC member.", required = false) private String skipModel
@Option(name = "--skip-package-prompt", description = "Skips the usage of the application's default package if the name of the class is not fully qualified.", required = false) private boolean skipPackagePrompt
@Option(name = "--skip-view", description = "Skips the creation of the view MVC member.", required = false) private String skipView
@Option(name = "--view", description = "Specifies the View template to be used.", required = false) private String view
@Option(name = "--with-controller", description = "Fully qualified className Controller to use.\nWARNING: the command will not create a file for this member.", required = false) private String withController
@Option(name = "--with-model", description = "Fully qualified className Model to use.\nWARNING: the command will not create a file for this member.", required = false) private String withModel
@Option(name = "--with-view", description = "Fully qualified className View to use.\nWARNING: the command will not create a file for this member.", required = false) private String withView
Constructor Detail |
---|
CreateMvcCommand()
Groovy Documentation