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 booleanIndicates whether some other object is "equal to" this one.final inthashCode()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 therootDirectoryrecord component.Returns the value of theruntimeDirectoryrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Stub
-
-
Method Details
-
resolveAt
Description copied from interface:AppImageLayoutCreates a copy of this app image resolved at the given root directory.- Specified by:
resolveAtin 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 therootDirectoryrecord component.- Specified by:
rootDirectoryin interfaceAppImageLayout- Returns:
- the value of the
rootDirectoryrecord component
-
runtimeDirectory
Returns the value of theruntimeDirectoryrecord component.- Specified by:
runtimeDirectoryin interfaceAppImageLayout- Returns:
- the value of the
runtimeDirectoryrecord component
-