Record Class WinExePackageMixin.Stub
java.lang.Object
java.lang.Record
jdk.jpackage.internal.model.WinExePackageMixin.Stub
- All Implemented Interfaces:
WinExePackageMixin
- Enclosing interface:
WinExePackageMixin
public static record WinExePackageMixin.Stub(WinMsiPackage msiPackage, Optional<Path> icon)
extends Record
implements WinExePackageMixin
-
Nested Class Summary
Nested classes/interfaces inherited from interface jdk.jpackage.internal.model.WinExePackageMixin
WinExePackageMixin.Stub
-
Constructor Summary
ConstructorsConstructorDescriptionStub
(WinMsiPackage msiPackage, Optional<Path> icon) Creates an instance of aStub
record class. -
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.icon()
Returns the value of theicon
record component.Returns the value of themsiPackage
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
Stub
Creates an instance of aStub
record class.- Parameters:
msiPackage
- the value for themsiPackage
record componenticon
- the value for theicon
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)
. -
msiPackage
Returns the value of themsiPackage
record component.- Specified by:
msiPackage
in interfaceWinExePackageMixin
- Returns:
- the value of the
msiPackage
record component
-
icon
Returns the value of theicon
record component.- Specified by:
icon
in interfaceWinExePackageMixin
- Returns:
- the value of the
icon
record component
-