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 theblockchainConfig
record component.blockLt()
Returns the value of theblockLt
record component.Returns the value of theblockTime
record component.Returns the value of thechksigAlwaysSucceed
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.Returns the value of thetransactionLt
record component.
-
Constructor Details
-
ExecutionOptions
public ExecutionOptions(String blockchainConfig, Integer blockTime, Long blockLt, Long transactionLt, Boolean chksigAlwaysSucceed) Creates an instance of aExecutionOptions
record class.- Parameters:
blockchainConfig
- the value for theblockchainConfig
record componentblockTime
- the value for theblockTime
record componentblockLt
- the value for theblockLt
record componenttransactionLt
- the value for thetransactionLt
record componentchksigAlwaysSucceed
- the value for thechksigAlwaysSucceed
record 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 theblockchainConfig
record component.- Returns:
- the value of the
blockchainConfig
record component
-
blockTime
Returns the value of theblockTime
record component.- Returns:
- the value of the
blockTime
record component
-
blockLt
Returns the value of theblockLt
record component.- Returns:
- the value of the
blockLt
record component
-
transactionLt
Returns the value of thetransactionLt
record component.- Returns:
- the value of the
transactionLt
record component
-
chksigAlwaysSucceed
Returns the value of thechksigAlwaysSucceed
record component.- Returns:
- the value of the
chksigAlwaysSucceed
record component
-