Record Class ApplicationLayoutMixin.Stub
java.lang.Object
java.lang.Record
jdk.jpackage.internal.model.ApplicationLayoutMixin.Stub
- All Implemented Interfaces:
ApplicationLayoutMixin
- Enclosing interface:
ApplicationLayoutMixin
public static record ApplicationLayoutMixin.Stub(Path launchersDirectory, Path appDirectory, Path appModsDirectory, Path destktopIntegrationDirectory, Path contentDirectory)
extends Record
implements ApplicationLayoutMixin
Default implementation of
ApplicationLayoutMixin
interface.-
Nested Class Summary
Nested classes/interfaces inherited from interface jdk.jpackage.internal.model.ApplicationLayoutMixin
ApplicationLayoutMixin.Stub
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theappDirectory
record component.Returns the value of theappModsDirectory
record component.Returns the value of thecontentDirectory
record component.Returns the value of thedestktopIntegrationDirectory
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.Returns the value of thelaunchersDirectory
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
Stub
public Stub(Path launchersDirectory, Path appDirectory, Path appModsDirectory, Path destktopIntegrationDirectory, Path contentDirectory) Creates an instance of aStub
record class.- Parameters:
launchersDirectory
- the value for thelaunchersDirectory
record componentappDirectory
- the value for theappDirectory
record componentappModsDirectory
- the value for theappModsDirectory
record componentdestktopIntegrationDirectory
- the value for thedestktopIntegrationDirectory
record componentcontentDirectory
- the value for thecontentDirectory
record component
-
-
Method Details
-
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)
. -
launchersDirectory
Returns the value of thelaunchersDirectory
record component.- Specified by:
launchersDirectory
in interfaceApplicationLayoutMixin
- Returns:
- the value of the
launchersDirectory
record component
-
appDirectory
Returns the value of theappDirectory
record component.- Specified by:
appDirectory
in interfaceApplicationLayoutMixin
- Returns:
- the value of the
appDirectory
record component
-
appModsDirectory
Returns the value of theappModsDirectory
record component.- Specified by:
appModsDirectory
in interfaceApplicationLayoutMixin
- Returns:
- the value of the
appModsDirectory
record component
-
destktopIntegrationDirectory
Returns the value of thedestktopIntegrationDirectory
record component.- Specified by:
destktopIntegrationDirectory
in interfaceApplicationLayoutMixin
- Returns:
- the value of the
destktopIntegrationDirectory
record component
-
contentDirectory
Returns the value of thecontentDirectory
record component.- Specified by:
contentDirectory
in interfaceApplicationLayoutMixin
- Returns:
- the value of the
contentDirectory
record component
-