Record Class MacApplicationMixin.Stub
java.lang.Object
java.lang.Record
jdk.jpackage.internal.model.MacApplicationMixin.Stub
- All Implemented Interfaces:
MacApplicationMixin
- Enclosing interface:
MacApplicationMixin
public static record MacApplicationMixin.Stub(Optional<Path> icon, String bundleName, String bundleIdentifier, String category, boolean appStore, Optional<AppImageSigningConfig> signingConfig)
extends Record
implements MacApplicationMixin
-
Nested Class Summary
Nested classes/interfaces inherited from interface jdk.jpackage.internal.model.MacApplicationMixin
MacApplicationMixin.Stub -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanappStore()Returns the value of theappStorerecord component.Returns the value of thebundleIdentifierrecord component.Returns the value of thebundleNamerecord component.category()Returns the value of thecategoryrecord component.final 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 thesigningConfigrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Stub
public Stub(Optional<Path> icon, String bundleName, String bundleIdentifier, String category, boolean appStore, Optional<AppImageSigningConfig> signingConfig) Creates an instance of aStubrecord class.- Parameters:
icon- the value for theiconrecord componentbundleName- the value for thebundleNamerecord componentbundleIdentifier- the value for thebundleIdentifierrecord componentcategory- the value for thecategoryrecord componentappStore- the value for theappStorerecord componentsigningConfig- the value for thesigningConfigrecord 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. -
icon
Returns the value of theiconrecord component.- Specified by:
iconin interfaceMacApplicationMixin- Returns:
- the value of the
iconrecord component
-
bundleName
Returns the value of thebundleNamerecord component.- Specified by:
bundleNamein interfaceMacApplicationMixin- Returns:
- the value of the
bundleNamerecord component
-
bundleIdentifier
Returns the value of thebundleIdentifierrecord component.- Specified by:
bundleIdentifierin interfaceMacApplicationMixin- Returns:
- the value of the
bundleIdentifierrecord component
-
category
Returns the value of thecategoryrecord component.- Specified by:
categoryin interfaceMacApplicationMixin- Returns:
- the value of the
categoryrecord component
-
appStore
public boolean appStore()Returns the value of theappStorerecord component.- Specified by:
appStorein interfaceMacApplicationMixin- Returns:
- the value of the
appStorerecord component
-
signingConfig
Returns the value of thesigningConfigrecord component.- Specified by:
signingConfigin interfaceMacApplicationMixin- Returns:
- the value of the
signingConfigrecord component
-