java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.Tvm.ExecutionOptions
- Record Components:
blockchainConfig- boc with configblockTime- time that is used as transaction timeblockLt- block logical timetransactionLt- transaction logical timechksigAlwaysSucceed- Overrides standard TVM behaviour. If set to `true` then CHKSIG always will return `true`.
- Enclosing class:
Tvm
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theblockchainConfigrecord component.blockLt()Returns the value of theblockLtrecord component.Returns the value of theblockTimerecord component.Returns the value of thechksigAlwaysSucceedrecord 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.Returns the value of thetransactionLtrecord component.
-
Constructor Details
-
ExecutionOptions
public ExecutionOptions(String blockchainConfig, Number blockTime, Long blockLt, Long transactionLt, Boolean chksigAlwaysSucceed) Creates an instance of aExecutionOptionsrecord class.- Parameters:
blockchainConfig- the value for theblockchainConfigrecord componentblockTime- the value for theblockTimerecord componentblockLt- the value for theblockLtrecord componenttransactionLt- the value for thetransactionLtrecord componentchksigAlwaysSucceed- the value for thechksigAlwaysSucceedrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
blockchainConfig
Returns the value of theblockchainConfigrecord component.- Returns:
- the value of the
blockchainConfigrecord component
-
blockTime
Returns the value of theblockTimerecord component.- Returns:
- the value of the
blockTimerecord component
-
blockLt
Returns the value of theblockLtrecord component.- Returns:
- the value of the
blockLtrecord component
-
transactionLt
Returns the value of thetransactionLtrecord component.- Returns:
- the value of the
transactionLtrecord component
-
chksigAlwaysSucceed
Returns the value of thechksigAlwaysSucceedrecord component.- Returns:
- the value of the
chksigAlwaysSucceedrecord component
-