Class DefaultProjectGenerator
java.lang.Object
io.micronaut.projectgen.core.generator.DefaultProjectGenerator
- All Implemented Interfaces:
ProjectGenerator
Default implementation of
ProjectGenerator.-
Constructor Summary
ConstructorsConstructorDescriptionDefaultProjectGenerator(ContextFactory contextFactory, List<AvailableFeatures> availableFeatures) -
Method Summary
Modifier and TypeMethodDescriptionvoidgenerate(Options options, OutputHandler outputHandler, ConsoleOutput consoleOutput) voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.micronaut.projectgen.core.generator.ProjectGenerator
generate
-
Constructor Details
-
DefaultProjectGenerator
public DefaultProjectGenerator(ContextFactory contextFactory, List<AvailableFeatures> availableFeatures)
-
-
Method Details
-
generate
public void generate(Options options, OutputHandler outputHandler, ConsoleOutput consoleOutput) throws Exception - Specified by:
generatein interfaceProjectGenerator- Throws:
Exception
-
writeTo
- Specified by:
writeToin interfaceProjectGenerator- Parameters:
options- Options used to generate the applicationoutputFolder- Path where zip will be written to
-