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 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.helpURL()Returns the value of thehelpURLrecord component.booleanReturns the value of theisSystemWideInstallrecord component.Returns the value of themsiVersionrecord component.Returns the value of theproductCoderecord component.Returns the value of theserviceInstallerrecord component.Returns the value of thestartMenuGroupNamerecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theupdateURLrecord component.Returns the value of theupgradeCoderecord component.booleanReturns the value of thewithInstallDirChooserrecord component.booleanReturns the value of thewithShortcutPromptrecord 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 aStubrecord class.- Parameters:
msiVersion- the value for themsiVersionrecord componentwithInstallDirChooser- the value for thewithInstallDirChooserrecord componentwithShortcutPrompt- the value for thewithShortcutPromptrecord componenthelpURL- the value for thehelpURLrecord componentupdateURL- the value for theupdateURLrecord componentstartMenuGroupName- the value for thestartMenuGroupNamerecord componentisSystemWideInstall- the value for theisSystemWideInstallrecord componentupgradeCode- the value for theupgradeCoderecord componentproductCode- the value for theproductCoderecord componentserviceInstaller- the value for theserviceInstallerrecord 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 thecomparemethod from their corresponding wrapper classes. -
msiVersion
Returns the value of themsiVersionrecord component.- Specified by:
msiVersionin interfaceWinMsiPackageMixin- Returns:
- the value of the
msiVersionrecord component
-
withInstallDirChooser
public boolean withInstallDirChooser()Returns the value of thewithInstallDirChooserrecord component.- Specified by:
withInstallDirChooserin interfaceWinMsiPackageMixin- Returns:
- the value of the
withInstallDirChooserrecord component
-
withShortcutPrompt
public boolean withShortcutPrompt()Returns the value of thewithShortcutPromptrecord component.- Specified by:
withShortcutPromptin interfaceWinMsiPackageMixin- Returns:
- the value of the
withShortcutPromptrecord component
-
helpURL
Returns the value of thehelpURLrecord component.- Specified by:
helpURLin interfaceWinMsiPackageMixin- Returns:
- the value of the
helpURLrecord component
-
updateURL
Returns the value of theupdateURLrecord component.- Specified by:
updateURLin interfaceWinMsiPackageMixin- Returns:
- the value of the
updateURLrecord component
-
startMenuGroupName
Returns the value of thestartMenuGroupNamerecord component.- Specified by:
startMenuGroupNamein interfaceWinMsiPackageMixin- Returns:
- the value of the
startMenuGroupNamerecord component
-
isSystemWideInstall
public boolean isSystemWideInstall()Returns the value of theisSystemWideInstallrecord component.- Specified by:
isSystemWideInstallin interfaceWinMsiPackageMixin- Returns:
- the value of the
isSystemWideInstallrecord component
-
upgradeCode
Returns the value of theupgradeCoderecord component.- Specified by:
upgradeCodein interfaceWinMsiPackageMixin- Returns:
- the value of the
upgradeCoderecord component
-
productCode
Returns the value of theproductCoderecord component.- Specified by:
productCodein interfaceWinMsiPackageMixin- Returns:
- the value of the
productCoderecord component
-
serviceInstaller
Returns the value of theserviceInstallerrecord component.- Specified by:
serviceInstallerin interfaceWinMsiPackageMixin- Returns:
- the value of the
serviceInstallerrecord component
-