Record Class PkgSigningConfig.Stub
java.lang.Object
java.lang.Record
jdk.jpackage.internal.model.PkgSigningConfig.Stub
- All Implemented Interfaces:
PkgSigningConfig
- Enclosing interface:
PkgSigningConfig
public static record PkgSigningConfig.Stub(SigningIdentity identity, Optional<String> keychain)
extends Record
implements PkgSigningConfig
-
Nested Class Summary
Nested classes/interfaces inherited from interface jdk.jpackage.internal.model.PkgSigningConfig
PkgSigningConfig.Stub -
Constructor Summary
ConstructorsConstructorDescriptionStub(SigningIdentity identity, Optional<String> keychain) 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.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
Creates an instance of aStubrecord class.- Parameters:
identity- the value for theidentityrecord componentkeychain- the value for thekeychainrecord 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 interfacePkgSigningConfig- Returns:
- the value of the
identityrecord component
-
keychain
Returns the value of thekeychainrecord component.- Specified by:
keychainin interfacePkgSigningConfig- Returns:
- the value of the
keychainrecord component
-