Record Class AppImageSigningConfig.Stub
java.lang.Object
java.lang.Record
jdk.jpackage.internal.model.AppImageSigningConfig.Stub
- All Implemented Interfaces:
AppImageSigningConfig
- Enclosing interface:
AppImageSigningConfig
public static record AppImageSigningConfig.Stub(SigningIdentity identity, String identifierPrefix, Optional<Path> entitlements, Optional<String> keychain, String entitlementsResourceName)
extends Record
implements AppImageSigningConfig
-
Nested Class Summary
Nested classes/interfaces inherited from interface jdk.jpackage.internal.model.AppImageSigningConfig
AppImageSigningConfig.Stub
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theentitlements
record component.Returns the value of theentitlementsResourceName
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.Returns the value of theidentifierPrefix
record component.identity()
Returns the value of theidentity
record component.keychain()
Returns the value of thekeychain
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
Stub
public Stub(SigningIdentity identity, String identifierPrefix, Optional<Path> entitlements, Optional<String> keychain, String entitlementsResourceName) Creates an instance of aStub
record class.- Parameters:
identity
- the value for theidentity
record componentidentifierPrefix
- the value for theidentifierPrefix
record componententitlements
- the value for theentitlements
record componentkeychain
- the value for thekeychain
record componententitlementsResourceName
- the value for theentitlementsResourceName
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)
. -
identity
Returns the value of theidentity
record component.- Specified by:
identity
in interfaceAppImageSigningConfig
- Returns:
- the value of the
identity
record component
-
identifierPrefix
Returns the value of theidentifierPrefix
record component.- Specified by:
identifierPrefix
in interfaceAppImageSigningConfig
- Returns:
- the value of the
identifierPrefix
record component
-
entitlements
Returns the value of theentitlements
record component.- Specified by:
entitlements
in interfaceAppImageSigningConfig
- Returns:
- the value of the
entitlements
record component
-
keychain
Returns the value of thekeychain
record component.- Specified by:
keychain
in interfaceAppImageSigningConfig
- Returns:
- the value of the
keychain
record component
-
entitlementsResourceName
Returns the value of theentitlementsResourceName
record component.- Specified by:
entitlementsResourceName
in interfaceAppImageSigningConfig
- Returns:
- the value of the
entitlementsResourceName
record component
-