Record Class WinApplicationMixin.Stub
java.lang.Object
java.lang.Record
jdk.jpackage.internal.model.WinApplicationMixin.Stub
- All Implemented Interfaces:
WinApplicationMixin
- Enclosing interface:
WinApplicationMixin
public static record WinApplicationMixin.Stub(DottedVersion winVersion)
extends Record
implements WinApplicationMixin
-
Nested Class Summary
Nested classes/interfaces inherited from interface jdk.jpackage.internal.model.WinApplicationMixin
WinApplicationMixin.Stub -
Constructor Summary
ConstructorsConstructorDescriptionStub(Application app) Stub(DottedVersion winVersion) 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.final StringtoString()Returns a string representation of this record class.Returns the value of thewinVersionrecord component.
-
Constructor Details
-
Stub
-
Stub
Creates an instance of aStubrecord class.- Parameters:
winVersion- the value for thewinVersionrecord 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). -
winVersion
Returns the value of thewinVersionrecord component.- Specified by:
winVersionin interfaceWinApplicationMixin- Returns:
- the value of the
winVersionrecord component
-