Record Class AppImageLayout.Stub
java.lang.Object
java.lang.Record
jdk.jpackage.internal.model.AppImageLayout.Stub
- All Implemented Interfaces:
AppImageLayout
- Enclosing interface:
AppImageLayout
public static record AppImageLayout.Stub(Path rootDirectory, Path runtimeDirectory)
extends Record
implements AppImageLayout
Default implementation of
AppImageLayout
interface.-
Nested Class Summary
Nested classes/interfaces inherited from interface jdk.jpackage.internal.model.AppImageLayout
AppImageLayout.Stub
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.Creates a copy of this app image resolved at the given root directory.Returns the value of therootDirectory
record component.Returns the value of theruntimeDirectory
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
Stub
-
-
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:
base
- path to a directory at which to resolve the layout- Returns:
- a copy of this app image resolved at the given root directory
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
rootDirectory
Returns the value of therootDirectory
record component.- Specified by:
rootDirectory
in interfaceAppImageLayout
- Returns:
- the value of the
rootDirectory
record component
-
runtimeDirectory
Returns the value of theruntimeDirectory
record component.- Specified by:
runtimeDirectory
in interfaceAppImageLayout
- Returns:
- the value of the
runtimeDirectory
record component
-