Class CreateNatsProducer
java.lang.Object
io.micronaut.starter.cli.command.BaseCommand
io.micronaut.starter.cli.command.CodeGenCommand
io.micronaut.starter.cli.feature.messaging.nats.CreateNatsProducer
- All Implemented Interfaces:
- ConsoleOutput,- Callable<Integer>
- 
Field SummaryFieldsFields inherited from class io.micronaut.starter.cli.command.CodeGenCommandbeanContext, config, consoleOutput, outputHandlerSupplier, overwriteFields inherited from class io.micronaut.starter.cli.command.BaseCommandcommonOptions, specFields inherited from interface io.micronaut.starter.io.ConsoleOutputNOOP
- 
Constructor SummaryConstructorsConstructorDescriptionCreateNatsProducer(CodeGenConfig config) CreateNatsProducer(CodeGenConfig config, io.micronaut.core.util.functional.ThrowingSupplier<OutputHandler, IOException> outputHandlerSupplier, ConsoleOutput consoleOutput) 
- 
Method SummaryMethods inherited from class io.micronaut.starter.cli.command.CodeGenCommanderr, getCommand, getProject, getTemplateRenderer, getTemplateRenderer, out, setBeanContext, warningMethods inherited from class io.micronaut.starter.cli.command.BaseCommanderrWriter, getOperatingSystem, getSpec, green, outWriter, red, showStacktrace, verbose
- 
Field Details- 
producerName
 
- 
- 
Constructor Details- 
CreateNatsProducer
- 
CreateNatsProducerpublic CreateNatsProducer(CodeGenConfig config, io.micronaut.core.util.functional.ThrowingSupplier<OutputHandler, IOException> outputHandlerSupplier, ConsoleOutput consoleOutput) 
 
- 
- 
Method Details- 
appliespublic boolean applies()- Specified by:
- appliesin class- CodeGenCommand
 
- 
call- Throws:
- Exception
 
 
-