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 aOnchainInfo
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecontracts
record component.Returns the value of thecredentials
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.final String
toString()
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 aOnchainInfo
record class.- Parameters:
contracts
- the value for thecontracts
record componentcredentials
- the value for thecredentials
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)
. -
contracts
Returns the value of thecontracts
record component.- Returns:
- the value of the
contracts
record component
-
credentials
Returns the value of thecredentials
record component.- Returns:
- the value of the
credentials
record component
-