Class DefaultProjectGenerator
java.lang.Object
io.micronaut.starter.application.generator.DefaultProjectGenerator
- All Implemented Interfaces:
ProjectGenerator
-
Constructor Summary
ConstructorDescriptionDefaultProjectGenerator
(ContextFactory contextFactory, io.micronaut.context.BeanContext beanContext) -
Method Summary
Modifier and TypeMethodDescriptioncreateGeneratorContext
(ApplicationType applicationType, Project project, Options options, @Nullable OperatingSystem operatingSystem, List<String> selectedFeatures, ConsoleOutput consoleOutput) void
generate
(ApplicationType applicationType, Project project, OutputHandler outputHandler, GeneratorContext generatorContext) void
generate
(ApplicationType applicationType, Project project, Options options, @Nullable OperatingSystem operatingSystem, List<String> selectedFeatures, OutputHandler outputHandler, ConsoleOutput consoleOutput)
-
Constructor Details
-
DefaultProjectGenerator
public DefaultProjectGenerator(ContextFactory contextFactory, io.micronaut.context.BeanContext beanContext)
-
-
Method Details
-
generate
public void generate(ApplicationType applicationType, Project project, Options options, @Nullable @Nullable OperatingSystem operatingSystem, List<String> selectedFeatures, OutputHandler outputHandler, ConsoleOutput consoleOutput) throws Exception - Specified by:
generate
in interfaceProjectGenerator
- Throws:
Exception
-
generate
public void generate(ApplicationType applicationType, Project project, OutputHandler outputHandler, GeneratorContext generatorContext) throws Exception - Specified by:
generate
in interfaceProjectGenerator
- Throws:
Exception
-
createGeneratorContext
public GeneratorContext createGeneratorContext(ApplicationType applicationType, Project project, Options options, @Nullable @Nullable OperatingSystem operatingSystem, List<String> selectedFeatures, ConsoleOutput consoleOutput) - Specified by:
createGeneratorContext
in interfaceProjectGenerator
-