Package com.exonum.binding.transaction
Class TransactionContext.Builder
- java.lang.Object
-
- com.exonum.binding.transaction.TransactionContext.Builder
-
- Enclosing interface:
- TransactionContext
public static final class TransactionContext.Builder extends java.lang.ObjectTransaction context builder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TransactionContext.BuilderauthorPk(com.exonum.binding.common.crypto.PublicKey authorPk)Sets transaction author public key for the context.TransactionContextbuild()Creates the transaction context instance.TransactionContext.Builderfork(Fork fork)Sets database fork for the context.TransactionContext.BuildertxMessageHash(com.exonum.binding.common.hash.HashCode hash)Sets transaction message hash for the context.
-
-
-
Method Detail
-
fork
public TransactionContext.Builder fork(Fork fork)
Sets database fork for the context.
-
txMessageHash
public TransactionContext.Builder txMessageHash(com.exonum.binding.common.hash.HashCode hash)
Sets transaction message hash for the context.
-
authorPk
public TransactionContext.Builder authorPk(com.exonum.binding.common.crypto.PublicKey authorPk)
Sets transaction author public key for the context.
-
build
public TransactionContext build()
Creates the transaction context instance.
-
-