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 theentitlementsrecord component.Returns the value of theentitlementsResourceNamerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theidentifierPrefixrecord component.identity()Returns the value of theidentityrecord component.keychain()Returns the value of thekeychainrecord component.final StringtoString()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 aStubrecord class.- Parameters:
identity- the value for theidentityrecord componentidentifierPrefix- the value for theidentifierPrefixrecord componententitlements- the value for theentitlementsrecord componentkeychain- the value for thekeychainrecord componententitlementsResourceName- the value for theentitlementsResourceNamerecord 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 theidentityrecord component.- Specified by:
identityin interfaceAppImageSigningConfig- Returns:
- the value of the
identityrecord component
-
identifierPrefix
Returns the value of theidentifierPrefixrecord component.- Specified by:
identifierPrefixin interfaceAppImageSigningConfig- Returns:
- the value of the
identifierPrefixrecord component
-
entitlements
Returns the value of theentitlementsrecord component.- Specified by:
entitlementsin interfaceAppImageSigningConfig- Returns:
- the value of the
entitlementsrecord component
-
keychain
Returns the value of thekeychainrecord component.- Specified by:
keychainin interfaceAppImageSigningConfig- Returns:
- the value of the
keychainrecord component
-
entitlementsResourceName
Returns the value of theentitlementsResourceNamerecord component.- Specified by:
entitlementsResourceNamein interfaceAppImageSigningConfig- Returns:
- the value of the
entitlementsResourceNamerecord component
-