Interface RuntimeLayout

All Superinterfaces:
AppImageLayout

public interface RuntimeLayout extends AppImageLayout
Java runtime app image layout.

Use DEFAULT field to get the default runtime app image layout or create(Path) method to create custom runtime app image layout.

  • Field Details

  • Method Details

    • resolveAt

      default RuntimeLayout resolveAt(Path root)
      Description copied from interface: AppImageLayout
      Creates a copy of this app image resolved at the given root directory.
      Specified by:
      resolveAt in interface AppImageLayout
      Parameters:
      root - path to a directory at which to resolve the layout
      Returns:
      a copy of this app image resolved at the given root directory
    • create

      static RuntimeLayout create(Path runtimeDirectory)
      Creates Java runtime app image layout.

      AppImageLayout.runtimeDirectory() method called on the created object will return the value of the runtimeDirectory parameter. AppImageLayout.rootDirectory() method called on the created object will return Path.of("") value.

      Parameters:
      runtimeDirectory - Java runtime directory
      Returns:
      Java runtime app image layout