@Prototype public class UpdateCliConfigCommand extends CodeGenCommand
| Modifier and Type | Field and Description |
|---|---|
protected static java.util.Map<ApplicationType,java.lang.String> |
COMMANDS |
beanContext, config, consoleOutput, outputHandlerSupplier, overwritecommonOptions, specNOOP| Constructor and Description |
|---|
UpdateCliConfigCommand(CodeGenConfig codeGenConfig) |
UpdateCliConfigCommand(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, warningerrWriter, getOperatingSystem, getSpec, green, outWriter, red, showStacktrace, verboseprotected static final java.util.Map<ApplicationType,java.lang.String> COMMANDS
@Inject
public UpdateCliConfigCommand(@Parameter
CodeGenConfig codeGenConfig)
public UpdateCliConfigCommand(CodeGenConfig config, io.micronaut.core.util.functional.ThrowingSupplier<OutputHandler,java.io.IOException> outputHandlerSupplier, ConsoleOutput consoleOutput)
public boolean applies()
applies in class CodeGenCommandpublic java.lang.Integer call()
throws java.lang.Exception
java.lang.Exception