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 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.final String
toString()
Returns a string representation of this record class.Returns the value of thewinVersion
record component.
-
Constructor Details
-
Stub
-
Stub
Creates an instance of aStub
record class.- Parameters:
winVersion
- the value for thewinVersion
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)
. -
winVersion
Returns the value of thewinVersion
record component.- Specified by:
winVersion
in interfaceWinApplicationMixin
- Returns:
- the value of the
winVersion
record component
-