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.BuilderauthorPk(PublicKey authorPk)Sets transaction author public key for the context.ExecutionContext.BuilderblockchainData(BlockchainData blockchainData)Sets the blockchain data for the context.ExecutionContextbuild()Creates the transaction context instance.ExecutionContext.BuilderserviceId(int serviceId)Sets service id for the context.ExecutionContext.BuilderserviceName(java.lang.String serviceName)Sets service name for the context.ExecutionContext.BuildertxMessageHash(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.
-