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 TypeMethodDescriptionboolean
appStore()
Returns the value of theappStore
record component.Returns the value of thebundleIdentifier
record component.Returns the value of thebundleName
record component.category()
Returns the value of thecategory
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.icon()
Returns the value of theicon
record component.Returns the value of thesigningConfig
record component.final String
toString()
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 aStub
record class.- Parameters:
icon
- the value for theicon
record componentbundleName
- the value for thebundleName
record componentbundleIdentifier
- the value for thebundleIdentifier
record componentcategory
- the value for thecategory
record componentappStore
- the value for theappStore
record componentsigningConfig
- the value for thesigningConfig
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. -
icon
Returns the value of theicon
record component.- Specified by:
icon
in interfaceMacApplicationMixin
- Returns:
- the value of the
icon
record component
-
bundleName
Returns the value of thebundleName
record component.- Specified by:
bundleName
in interfaceMacApplicationMixin
- Returns:
- the value of the
bundleName
record component
-
bundleIdentifier
Returns the value of thebundleIdentifier
record component.- Specified by:
bundleIdentifier
in interfaceMacApplicationMixin
- Returns:
- the value of the
bundleIdentifier
record component
-
category
Returns the value of thecategory
record component.- Specified by:
category
in interfaceMacApplicationMixin
- Returns:
- the value of the
category
record component
-
appStore
public boolean appStore()Returns the value of theappStore
record component.- Specified by:
appStore
in interfaceMacApplicationMixin
- Returns:
- the value of the
appStore
record component
-
signingConfig
Returns the value of thesigningConfig
record component.- Specified by:
signingConfig
in interfaceMacApplicationMixin
- Returns:
- the value of the
signingConfig
record component
-