Class CreateRepositoryCommand
java.lang.Object
io.micronaut.starter.cli.command.BaseCommand
io.micronaut.starter.cli.command.CodeGenCommand
io.micronaut.starter.cli.feature.database.CreateRepositoryCommand
- All Implemented Interfaces:
 ConsoleOutput,Callable<Integer>
- 
Field Summary
FieldsFields inherited from class io.micronaut.starter.cli.command.CodeGenCommand
beanContext, config, consoleOutput, outputHandlerSupplier, overwriteFields inherited from class io.micronaut.starter.cli.command.BaseCommand
commonOptions, specFields inherited from interface io.micronaut.starter.io.ConsoleOutput
NOOP - 
Constructor Summary
ConstructorsConstructorDescriptionCreateRepositoryCommand(CodeGenConfig config, io.micronaut.core.util.functional.ThrowingSupplier<OutputHandler, IOException> outputHandlerSupplier, ConsoleOutput consoleOutput, List<DatabaseDriverFeature> driverFeatures) CreateRepositoryCommand(CodeGenConfig config, List<DatabaseDriverFeature> driverFeatures)  - 
Method Summary
Methods inherited from class io.micronaut.starter.cli.command.CodeGenCommand
err, getCommand, getProject, getTemplateRenderer, getTemplateRenderer, out, setBeanContext, warningMethods inherited from class io.micronaut.starter.cli.command.BaseCommand
errWriter, getOperatingSystem, getSpec, green, outWriter, red, showStacktrace, verbose 
- 
Field Details
- 
VALID_NO_PKG_ID_TYPES
 - 
repositoryName
 - 
idType
 
 - 
 - 
Constructor Details
- 
CreateRepositoryCommand
@Inject public CreateRepositoryCommand(@Parameter CodeGenConfig config, List<DatabaseDriverFeature> driverFeatures)  - 
CreateRepositoryCommand
public CreateRepositoryCommand(CodeGenConfig config, io.micronaut.core.util.functional.ThrowingSupplier<OutputHandler, IOException> outputHandlerSupplier, ConsoleOutput consoleOutput, List<DatabaseDriverFeature> driverFeatures)  
 - 
 - 
Method Details
- 
applies
public boolean applies()- Specified by:
 appliesin classCodeGenCommand
 - 
call
- Throws:
 Exception
 
 -