Class DefaultProjectGenerator
java.lang.Object
io.micronaut.starter.application.generator.DefaultProjectGenerator
- All Implemented Interfaces:
ProjectGenerator
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultProjectGenerator(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) voidgenerate(ApplicationType applicationType, Project project, OutputHandler outputHandler, GeneratorContext generatorContext) voidgenerate(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:
generatein interfaceProjectGenerator- Throws:
Exception
-
generate
public void generate(ApplicationType applicationType, Project project, OutputHandler outputHandler, GeneratorContext generatorContext) throws Exception - Specified by:
generatein interfaceProjectGenerator- Throws:
Exception
-
createGeneratorContext
public GeneratorContext createGeneratorContext(ApplicationType applicationType, Project project, Options options, @Nullable @Nullable OperatingSystem operatingSystem, List<String> selectedFeatures, ConsoleOutput consoleOutput) - Specified by:
createGeneratorContextin interfaceProjectGenerator
-