Package io.micronaut.starter.diff
Class FeatureDiffer
java.lang.Object
io.micronaut.starter.diff.FeatureDiffer
Methods for diffing projects and features.
- Since:
- 1.0.0
- Author:
- jameskleeh, graemerocher
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
produceDiff
(ProjectGenerator projectGenerator, GeneratorContext generatorContext, ConsoleOutput consoleOutput) Produces a Diff for the given arguments.void
produceDiff
(ProjectGenerator projectGenerator, Project project, ApplicationType applicationType, Options options, @Nullable OperatingSystem operatingSystem, List<String> features, ConsoleOutput consoleOutput) Produces a Diff for the given arguments.
-
Constructor Details
-
FeatureDiffer
public FeatureDiffer()
-
-
Method Details
-
produceDiff
public void produceDiff(ProjectGenerator projectGenerator, Project project, ApplicationType applicationType, Options options, @Nullable @Nullable OperatingSystem operatingSystem, List<String> features, ConsoleOutput consoleOutput) throws Exception Produces a Diff for the given arguments.- Parameters:
projectGenerator
- The project generatorproject
- The projectapplicationType
- The application typeoptions
- The optionsoperatingSystem
- Operating Systemfeatures
- The features to diffconsoleOutput
- The console output- Throws:
Exception
- If something does wrong
-
produceDiff
public void produceDiff(ProjectGenerator projectGenerator, GeneratorContext generatorContext, ConsoleOutput consoleOutput) throws Exception Produces a Diff for the given arguments.- Parameters:
projectGenerator
- The project generatorgeneratorContext
- The generator contextconsoleOutput
- The console output- Throws:
Exception
- If something does wrong
-