Class ExecutionInfo
- java.lang.Object
-
- com.casper.sdk.model.transaction.execution.ExecutionInfo
-
public class ExecutionInfo extends java.lang.ObjectThe block hash and height in which a given deploy was executed, along with the execution result if known.
-
-
Constructor Summary
Constructors Constructor Description ExecutionInfo()ExecutionInfo(Digest blockHash, java.math.BigInteger blockHeight, ExecutionResult executionResult)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DigestgetBlockHash()java.math.BigIntegergetBlockHeight()<T extends ExecutionResult>
TgetExecutionResult()voidsetBlockHash(Digest blockHash)voidsetBlockHeight(java.math.BigInteger blockHeight)voidsetExecutionResult(ExecutionResult executionResult)
-
-
-
Constructor Detail
-
ExecutionInfo
public ExecutionInfo(Digest blockHash, java.math.BigInteger blockHeight, ExecutionResult executionResult)
-
ExecutionInfo
public ExecutionInfo()
-
-
Method Detail
-
getExecutionResult
public <T extends ExecutionResult> T getExecutionResult()
-
getBlockHash
public Digest getBlockHash()
-
getBlockHeight
public java.math.BigInteger getBlockHeight()
-
setBlockHash
public void setBlockHash(Digest blockHash)
-
setBlockHeight
public void setBlockHeight(java.math.BigInteger blockHeight)
-
setExecutionResult
public void setExecutionResult(ExecutionResult executionResult)
-
-