public class TransactionContext extends java.lang.Object implements CreatedContractContext
Transaction
without the Event
s.Constructor and Description |
---|
TransactionContext(@NonNull java.lang.String transactionId,
@NonNull java.lang.String commandId,
@NonNull java.lang.String workflowId,
@NonNull java.time.Instant effectiveAt,
@NonNull java.lang.String offset) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
static TransactionContext |
forTransaction(@NonNull Transaction transaction) |
@NonNull java.lang.String |
getCommandId() |
@NonNull java.time.Instant |
getEffectiveAt() |
@NonNull java.lang.String |
getOffset() |
@NonNull java.lang.String |
getTransactionId() |
@NonNull java.lang.String |
getWorkflowId() |
int |
hashCode() |
java.lang.String |
toString() |
public TransactionContext(@NonNull java.lang.String transactionId, @NonNull java.lang.String commandId, @NonNull java.lang.String workflowId, @NonNull java.time.Instant effectiveAt, @NonNull java.lang.String offset)
public static TransactionContext forTransaction(@NonNull Transaction transaction)
public @NonNull java.lang.String getTransactionId()
public @NonNull java.lang.String getCommandId()
public @NonNull java.lang.String getWorkflowId()
getWorkflowId
in interface CreatedContractContext
public @NonNull java.time.Instant getEffectiveAt()
public @NonNull java.lang.String getOffset()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object