Package com.exonum.binding.core.service
Class ExecutionContext.Builder
java.lang.Object
com.exonum.binding.core.service.ExecutionContext.Builder
- Enclosing interface:
- ExecutionContext
public static final class ExecutionContext.Builder
extends java.lang.Object
Transaction context builder.
-
Method Summary
Modifier and Type Method Description ExecutionContext.Builder
authorPk(PublicKey authorPk)
Sets transaction author public key for the context.ExecutionContext.Builder
blockchainData(BlockchainData blockchainData)
Sets the blockchain data for the context.ExecutionContext
build()
Creates the transaction context instance.ExecutionContext.Builder
serviceId(int serviceId)
Sets service id for the context.ExecutionContext.Builder
serviceName(java.lang.String serviceName)
Sets service name for the context.ExecutionContext.Builder
txMessageHash(HashCode hash)
Sets transaction message hash for the context.
-
Method Details
-
blockchainData
Sets the blockchain data for the context. -
txMessageHash
Sets transaction message hash for the context. -
authorPk
Sets transaction author public key for the context. -
serviceName
Sets service name for the context. -
serviceId
Sets service id for the context. -
build
Creates the transaction context instance.
-