@Prototype public class CreateBeanCommand extends CodeGenCommand
config, overwrite
commonOptions, spec
NOOP
Constructor and Description |
---|
CreateBeanCommand(CodeGenConfig config) |
CreateBeanCommand(CodeGenConfig config,
io.micronaut.core.util.functional.ThrowingSupplier<OutputHandler,java.io.IOException> outputHandlerSupplier,
ConsoleOutput consoleOutput) |
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 CreateBeanCommand(@Parameter CodeGenConfig config)
public CreateBeanCommand(CodeGenConfig config, io.micronaut.core.util.functional.ThrowingSupplier<OutputHandler,java.io.IOException> outputHandlerSupplier, ConsoleOutput consoleOutput)
public boolean applies()
applies
in class CodeGenCommand
public java.lang.Integer call() throws java.lang.Exception
java.lang.Exception