|
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.ReplaceArtifactCommand
@Command(scope = "griffon",
name = "replace-artifact",
description = "Replaces an artifact file using another template")
public class ReplaceArtifactCommand
extends AbstractGriffonCommand
| Field Summary | |
|---|---|
private String |
archetype
|
private String |
fileType
|
private String |
name
|
private String |
type
|
| Fields inherited from class AbstractGriffonCommand | |
|---|---|
| env, nonInteractive |
| Constructor Summary | |
ReplaceArtifactCommand()
|
|
| Field Detail |
|---|
@Option(name = "--archetype",
description = "Archetype to be searched for templates.",
required = false)
private String archetype
@Option(name = "--file-type",
description = "Source file type.",
required = true)
private String fileType
@Argument(index = 0,
name = "name",
description = "The fully qualified name of the artifact to be replaced.",
required = false)
private String name
@Option(name = "--type",
description = "Artifact type, i.e, controller, model, etc.",
required = true)
private String type
| Constructor Detail |
|---|
ReplaceArtifactCommand()
Groovy Documentation