public class CreateControllerCommand extends CodeGenCommand
config, overwrite
commonOptions, spec
NOOP
Constructor and Description |
---|
CreateControllerCommand(CodeGenConfig config,
java.util.List<Feature> features) |
CreateControllerCommand(CodeGenConfig config,
io.micronaut.core.util.functional.ThrowingSupplier<OutputHandler,java.io.IOException> outputHandlerSupplier,
ConsoleOutput consoleOutput,
java.util.List<Feature> features) |
Modifier and Type | Method and Description |
---|---|
boolean |
applies() |
java.lang.Integer |
call() |
err, getCommand, getProject, getTemplateRenderer, getTemplateRenderer, out, setBeanContext, warning
getOperatingSystem, green, red, showStacktrace, verbose
@Inject public CreateControllerCommand(@Parameter CodeGenConfig config, java.util.List<Feature> features)
public CreateControllerCommand(CodeGenConfig config, io.micronaut.core.util.functional.ThrowingSupplier<OutputHandler,java.io.IOException> outputHandlerSupplier, ConsoleOutput consoleOutput, java.util.List<Feature> features)
public boolean applies()
applies
in class CodeGenCommand
public java.lang.Integer call() throws java.lang.Exception
java.lang.Exception