Class TestAotProcessor
java.lang.Object
org.springframework.test.context.aot.TestAotProcessor
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:
-
TestClassScanner
TestContextAotGenerator
FileNativeConfigurationWriter
org.springframework.boot.AotProcessor
-
Constructor Summary
-
Method Summary
-
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 classessourceOutput
- the location of generated sourcesresourceOutput
- the location of generated resourcesclassOutput
- the location of generated classesgroupId
- the group ID of the application, used to locatenative-image.properties
artifactId
- the artifact ID of the application, used to locatenative-image.properties
-
-
Method Details
-
process
public void process()Trigger processing of the test classes in the configured classpath roots. -
main
-