Class FeatureDiffer

java.lang.Object
io.micronaut.starter.diff.FeatureDiffer

@Singleton public class FeatureDiffer extends Object
Methods for diffing projects and features.
Since:
1.0.0
Author:
jameskleeh, graemerocher
  • 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 generator
      project - The project
      applicationType - The application type
      options - The options
      operatingSystem - Operating System
      features - The features to diff
      consoleOutput - 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 generator
      generatorContext - The generator context
      consoleOutput - The console output
      Throws:
      Exception - If something does wrong