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 theappDirectoryrecord component.Returns the value of theappModsDirectoryrecord component.Returns the value of thecontentDirectoryrecord component.Returns the value of thedestktopIntegrationDirectoryrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thelaunchersDirectoryrecord component.final StringtoString()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 aStubrecord class.- Parameters:
launchersDirectory- the value for thelaunchersDirectoryrecord componentappDirectory- the value for theappDirectoryrecord componentappModsDirectory- the value for theappModsDirectoryrecord componentdestktopIntegrationDirectory- the value for thedestktopIntegrationDirectoryrecord componentcontentDirectory- the value for thecontentDirectoryrecord 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 thelaunchersDirectoryrecord component.- Specified by:
launchersDirectoryin interfaceApplicationLayoutMixin- Returns:
- the value of the
launchersDirectoryrecord component
-
appDirectory
Returns the value of theappDirectoryrecord component.- Specified by:
appDirectoryin interfaceApplicationLayoutMixin- Returns:
- the value of the
appDirectoryrecord component
-
appModsDirectory
Returns the value of theappModsDirectoryrecord component.- Specified by:
appModsDirectoryin interfaceApplicationLayoutMixin- Returns:
- the value of the
appModsDirectoryrecord component
-
destktopIntegrationDirectory
Returns the value of thedestktopIntegrationDirectoryrecord component.- Specified by:
destktopIntegrationDirectoryin interfaceApplicationLayoutMixin- Returns:
- the value of the
destktopIntegrationDirectoryrecord component
-
contentDirectory
Returns the value of thecontentDirectoryrecord component.- Specified by:
contentDirectoryin interfaceApplicationLayoutMixin- Returns:
- the value of the
contentDirectoryrecord component
-