Record Class WinMsiPackageMixin.Stub
java.lang.Object
java.lang.Record
jdk.jpackage.internal.model.WinMsiPackageMixin.Stub
- All Implemented Interfaces:
WinMsiPackageMixin
- Enclosing interface:
WinMsiPackageMixin
public static record WinMsiPackageMixin.Stub(DottedVersion msiVersion, boolean withInstallDirChooser, boolean withShortcutPrompt, Optional<String> helpURL, Optional<String> updateURL, String startMenuGroupName, boolean isSystemWideInstall, UUID upgradeCode, UUID productCode, Optional<Path> serviceInstaller)
extends Record
implements WinMsiPackageMixin
-
Nested Class Summary
Nested classes/interfaces inherited from interface jdk.jpackage.internal.model.WinMsiPackageMixin
WinMsiPackageMixin.Stub
-
Constructor Summary
ConstructorsConstructorDescriptionStub
(DottedVersion msiVersion, boolean withInstallDirChooser, boolean withShortcutPrompt, Optional<String> helpURL, Optional<String> updateURL, String startMenuGroupName, boolean isSystemWideInstall, UUID upgradeCode, UUID productCode, Optional<Path> serviceInstaller) 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.helpURL()
Returns the value of thehelpURL
record component.boolean
Returns the value of theisSystemWideInstall
record component.Returns the value of themsiVersion
record component.Returns the value of theproductCode
record component.Returns the value of theserviceInstaller
record component.Returns the value of thestartMenuGroupName
record component.final String
toString()
Returns a string representation of this record class.Returns the value of theupdateURL
record component.Returns the value of theupgradeCode
record component.boolean
Returns the value of thewithInstallDirChooser
record component.boolean
Returns the value of thewithShortcutPrompt
record component.
-
Constructor Details
-
Stub
public Stub(DottedVersion msiVersion, boolean withInstallDirChooser, boolean withShortcutPrompt, Optional<String> helpURL, Optional<String> updateURL, String startMenuGroupName, boolean isSystemWideInstall, UUID upgradeCode, UUID productCode, Optional<Path> serviceInstaller) Creates an instance of aStub
record class.- Parameters:
msiVersion
- the value for themsiVersion
record componentwithInstallDirChooser
- the value for thewithInstallDirChooser
record componentwithShortcutPrompt
- the value for thewithShortcutPrompt
record componenthelpURL
- the value for thehelpURL
record componentupdateURL
- the value for theupdateURL
record componentstartMenuGroupName
- the value for thestartMenuGroupName
record componentisSystemWideInstall
- the value for theisSystemWideInstall
record componentupgradeCode
- the value for theupgradeCode
record componentproductCode
- the value for theproductCode
record componentserviceInstaller
- the value for theserviceInstaller
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. Reference components are compared withObjects::equals(Object,Object)
; primitive components are compared with thecompare
method from their corresponding wrapper classes. -
msiVersion
Returns the value of themsiVersion
record component.- Specified by:
msiVersion
in interfaceWinMsiPackageMixin
- Returns:
- the value of the
msiVersion
record component
-
withInstallDirChooser
public boolean withInstallDirChooser()Returns the value of thewithInstallDirChooser
record component.- Specified by:
withInstallDirChooser
in interfaceWinMsiPackageMixin
- Returns:
- the value of the
withInstallDirChooser
record component
-
withShortcutPrompt
public boolean withShortcutPrompt()Returns the value of thewithShortcutPrompt
record component.- Specified by:
withShortcutPrompt
in interfaceWinMsiPackageMixin
- Returns:
- the value of the
withShortcutPrompt
record component
-
helpURL
Returns the value of thehelpURL
record component.- Specified by:
helpURL
in interfaceWinMsiPackageMixin
- Returns:
- the value of the
helpURL
record component
-
updateURL
Returns the value of theupdateURL
record component.- Specified by:
updateURL
in interfaceWinMsiPackageMixin
- Returns:
- the value of the
updateURL
record component
-
startMenuGroupName
Returns the value of thestartMenuGroupName
record component.- Specified by:
startMenuGroupName
in interfaceWinMsiPackageMixin
- Returns:
- the value of the
startMenuGroupName
record component
-
isSystemWideInstall
public boolean isSystemWideInstall()Returns the value of theisSystemWideInstall
record component.- Specified by:
isSystemWideInstall
in interfaceWinMsiPackageMixin
- Returns:
- the value of the
isSystemWideInstall
record component
-
upgradeCode
Returns the value of theupgradeCode
record component.- Specified by:
upgradeCode
in interfaceWinMsiPackageMixin
- Returns:
- the value of the
upgradeCode
record component
-
productCode
Returns the value of theproductCode
record component.- Specified by:
productCode
in interfaceWinMsiPackageMixin
- Returns:
- the value of the
productCode
record component
-
serviceInstaller
Returns the value of theserviceInstaller
record component.- Specified by:
serviceInstaller
in interfaceWinMsiPackageMixin
- Returns:
- the value of the
serviceInstaller
record component
-