Record Class LinuxPackageMixin.Stub
java.lang.Object
java.lang.Record
jdk.jpackage.internal.model.LinuxPackageMixin.Stub
- All Implemented Interfaces:
LinuxPackageMixin
- Enclosing interface:
LinuxPackageMixin
public static record LinuxPackageMixin.Stub(AppImageLayout packageLayout, String menuGroupName, Optional<String> category, Optional<String> additionalDependencies, Optional<String> release, String arch)
extends Record
implements LinuxPackageMixin
Default implementation of
LinuxPackageMixin interface.-
Nested Class Summary
Nested classes/interfaces inherited from interface jdk.jpackage.internal.model.LinuxPackageMixin
LinuxPackageMixin.Stub -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theadditionalDependenciesrecord component.arch()Returns the value of thearchrecord component.category()Returns the value of thecategoryrecord 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 themenuGroupNamerecord component.Returns the value of thepackageLayoutrecord component.release()Returns the value of thereleaserecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Stub
public Stub(AppImageLayout packageLayout, String menuGroupName, Optional<String> category, Optional<String> additionalDependencies, Optional<String> release, String arch) Creates an instance of aStubrecord class.- Parameters:
packageLayout- the value for thepackageLayoutrecord componentmenuGroupName- the value for themenuGroupNamerecord componentcategory- the value for thecategoryrecord componentadditionalDependencies- the value for theadditionalDependenciesrecord componentrelease- the value for thereleaserecord componentarch- the value for thearchrecord 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). -
packageLayout
Returns the value of thepackageLayoutrecord component.- Specified by:
packageLayoutin interfaceLinuxPackageMixin- Returns:
- the value of the
packageLayoutrecord component
-
category
Returns the value of thecategoryrecord component.- Specified by:
categoryin interfaceLinuxPackageMixin- Returns:
- the value of the
categoryrecord component
-
additionalDependencies
Returns the value of theadditionalDependenciesrecord component.- Specified by:
additionalDependenciesin interfaceLinuxPackageMixin- Returns:
- the value of the
additionalDependenciesrecord component
-
release
Returns the value of thereleaserecord component.- Specified by:
releasein interfaceLinuxPackageMixin- Returns:
- the value of the
releaserecord component
-
arch
Returns the value of thearchrecord component.- Specified by:
archin interfaceLinuxPackageMixin- Returns:
- the value of the
archrecord component
-