Class TransactionContext.Builder
java.lang.Object
com.exonum.binding.core.transaction.TransactionContext.Builder
- Enclosing interface:
- TransactionContext
public static final class TransactionContext.Builder extends Object
Transaction context builder.
-
Method Summary
Modifier and Type Method Description TransactionContext.Builder
authorPk(PublicKey authorPk)
Sets transaction author public key for the context.TransactionContext
build()
Creates the transaction context instance.TransactionContext.Builder
fork(Fork fork)
Sets database fork for the context.TransactionContext.Builder
serviceId(int serviceId)
Sets service id for the context.TransactionContext.Builder
serviceName(String serviceName)
Sets service name for the context.TransactionContext.Builder
txMessageHash(HashCode hash)
Sets transaction message hash for the context.
-
Method Details
-
fork
Sets database fork 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.
-