Interface JarArtifactLauncher.JarInitContext

All Superinterfaces:
ArtifactLauncher.InitContext
Enclosing interface:
JarArtifactLauncher

public static interface JarArtifactLauncher.JarInitContext extends ArtifactLauncher.InitContext
  • Method Details

    • jarPath

      Path jarPath()
    • recordingArgs

      List<String> recordingArgs()
      Additional JVM args to add during the integration test run for training/recording. Empty list means no recording.

      For Leyden AOT: [-XX:AOTMode=record, -XX:AOTConfiguration=<path>, ...] For OpenJ9 SCC: [-Xshareclasses:name=quarkus-app,cacheDir= <dir> ]

    • postCloseCommand

      List<String> postCloseCommand()
      Base command to run after the test process exits. The launcher will prepend the java binary and argLine, then append runtime system properties, -jar, and jar path before executing. Empty list means no post-close processing.

      For Leyden AOT: [-XX:AOTMode=create, -XX:AOTConfiguration=..., -XX:AOTCache=...] For Semeru SCC: empty (cache is populated during the test run).

    • aotResultPath

      Optional<Path> aotResultPath()
      Path to the AOT result file or directory that the user should reference when running the application. Used for logging purposes after the AOT process completes. Empty when AOT is not enabled.
    • aotResultDescription

      String aotResultDescription()
      Human-readable description of the AOT result (e.g. "AOT cache", "SCC cache"). Used in log messages to describe what was created.