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 aStub
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.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
Creates an instance of aStub
record class.- Parameters:
identity
- the value for theidentity
record componentkeychain
- the value for thekeychain
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 interfacePkgSigningConfig
- Returns:
- the value of the
identity
record component
-
keychain
Returns the value of thekeychain
record component.- Specified by:
keychain
in interfacePkgSigningConfig
- Returns:
- the value of the
keychain
record component
-