Module java4ever.framework
Package tech.deplant.java4ever.framework
Record Class OnchainConfig.OnchainInfo
java.lang.Object
java.lang.Record
tech.deplant.java4ever.framework.OnchainConfig.OnchainInfo
- Enclosing class:
OnchainConfig
public static record OnchainConfig.OnchainInfo(Map<String,OnchainConfig.SavedContract> contracts, Map<String,Credentials> credentials)
extends Record
The type Onchain info.
-
Constructor Summary
ConstructorsConstructorDescriptionOnchainInfo(Map<String, OnchainConfig.SavedContract> contracts, Map<String, Credentials> credentials) Creates an instance of aOnchainInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecontractsrecord component.Returns the value of thecredentialsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
OnchainInfo
public OnchainInfo(Map<String, OnchainConfig.SavedContract> contracts, Map<String, Credentials> credentials) Creates an instance of aOnchainInforecord class.- Parameters:
contracts- the value for thecontractsrecord componentcredentials- the value for thecredentialsrecord 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). -
contracts
Returns the value of thecontractsrecord component.- Returns:
- the value of the
contractsrecord component
-
credentials
Returns the value of thecredentialsrecord component.- Returns:
- the value of the
credentialsrecord component
-