Interface RuntimeLayout
- All Superinterfaces:
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.
-
Nested Class Summary
Nested classes/interfaces inherited from interface jdk.jpackage.internal.model.AppImageLayout
AppImageLayout.Stub
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic RuntimeLayout
Creates Java runtime app image layout.default RuntimeLayout
Creates a copy of this app image resolved at the given root directory.Methods inherited from interface jdk.jpackage.internal.model.AppImageLayout
rootDirectory, runtimeDirectory
-
Field Details
-
DEFAULT
Singleton.AppImageLayout.runtimeDirectory()
of the singleton returns empty string (""), i.e. the runtime directory is the same as the directory at which the layout is resolved.
-
-
Method Details
-
resolveAt
Description copied from interface:AppImageLayout
Creates a copy of this app image resolved at the given root directory.- Specified by:
resolveAt
in interfaceAppImageLayout
- 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
Creates Java runtime app image layout.AppImageLayout.runtimeDirectory()
method called on the created object will return the value of theruntimeDirectory
parameter.
AppImageLayout.rootDirectory()
method called on the created object will returnPath.of("")
value.
- Parameters:
runtimeDirectory
- Java runtime directory- Returns:
- Java runtime app image layout
-