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 aStubrecord class. -
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.icon()Returns the value of theiconrecord component.Returns the value of themsiPackagerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Stub
Creates an instance of aStubrecord class.- Parameters:
msiPackage- the value for themsiPackagerecord componenticon- the value for theiconrecord 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 themsiPackagerecord component.- Specified by:
msiPackagein interfaceWinExePackageMixin- Returns:
- the value of the
msiPackagerecord component
-
icon
Returns the value of theiconrecord component.- Specified by:
iconin interfaceWinExePackageMixin- Returns:
- the value of the
iconrecord component
-