Class AbstractAotProcessor.Settings

java.lang.Object
org.springframework.context.aot.AbstractAotProcessor.Settings
Enclosing class:
AbstractAotProcessor

public static class AbstractAotProcessor.Settings extends Object
Common settings for AOT processors.
  • Constructor Details

    • Settings

      public Settings()
  • Method Details

    • setSourceOutput

      public AbstractAotProcessor.Settings setSourceOutput(Path sourceOutput)
      Set the output directory for generated sources.
      Parameters:
      sourceOutput - the location of generated sources
      Returns:
      this settings object for method chaining
    • getSourceOutput

      @Nullable public Path getSourceOutput()
      Get the output directory for generated sources.
    • setResourceOutput

      public AbstractAotProcessor.Settings setResourceOutput(Path resourceOutput)
      Set the output directory for generated resources.
      Parameters:
      resourceOutput - the location of generated resources
      Returns:
      this settings object for method chaining
    • getResourceOutput

      @Nullable public Path getResourceOutput()
      Get the output directory for generated resources.
    • setClassOutput

      public AbstractAotProcessor.Settings setClassOutput(Path classOutput)
      Set the output directory for generated classes.
      Parameters:
      classOutput - the location of generated classes
      Returns:
      this settings object for method chaining
    • getClassOutput

      @Nullable public Path getClassOutput()
      Get the output directory for generated classes.
    • setGroupId

      public AbstractAotProcessor.Settings setGroupId(String groupId)
      Set the group ID of the application.
      Parameters:
      groupId - the group ID of the application, used to locate native-image.properties
      Returns:
      this settings object for method chaining
    • getGroupId

      @Nullable public String getGroupId()
      Get the group ID of the application.
    • setArtifactId

      public AbstractAotProcessor.Settings setArtifactId(String artifactId)
      Set the artifact ID of the application.
      Parameters:
      artifactId - the artifact ID of the application, used to locate native-image.properties
      Returns:
      this settings object for method chaining
    • getArtifactId

      @Nullable public String getArtifactId()
      Get the artifact ID of the application.