Class TestAotProcessor

java.lang.Object
org.springframework.test.context.aot.TestAotProcessor

public class TestAotProcessor extends Object
Command-line application that scans the provided classpath roots for Spring integration test classes and then generates AOT artifacts for those test classes in the provided output directories.

For internal use only.

Since:
6.0
Author:
Sam Brannen, Stephane Nicoll, Andy Wilkinson, Phillip Webb
See Also:
  • Constructor Details

    • TestAotProcessor

      public TestAotProcessor(Path[] classpathRoots, Path sourceOutput, Path resourceOutput, Path classOutput, String groupId, String artifactId)
      Create a new processor for the specified test classpath roots and general settings.
      Parameters:
      classpathRoots - the classpath roots to scan for test classes
      sourceOutput - the location of generated sources
      resourceOutput - the location of generated resources
      classOutput - the location of generated classes
      groupId - the group ID of the application, used to locate native-image.properties
      artifactId - the artifact ID of the application, used to locate native-image.properties
  • Method Details

    • process

      public void process()
      Trigger processing of the test classes in the configured classpath roots.
    • main

      public static void main(String[] args)