public OutputStateLookup
This interface defines output state lookup by label. It is split from the interpreter interfaces so that outputs may be looked up both in ledger{..} and transaction{..} blocks.
Modifier and Type | Method and Description |
---|---|
<S extends ContractState> |
retrieveOutputStateAndRef(java.lang.Class<S> clazz,
java.lang.String label)
Retrieves an output previously defined by
TransactionDSLInterpreter.output with a label passed in. |
<S extends ContractState> StateAndRef<S> retrieveOutputStateAndRef(java.lang.Class<S> clazz, java.lang.String label)
Retrieves an output previously defined by TransactionDSLInterpreter.output
with a label passed in.
clazz
- The class object holding the type of the output state expected.label
- The label of the to-be-retrieved output state.class StateAndRef
.TransactionDSLInterpreter.output