Class LedgerViewFlowable.LedgerTestView<R>

  • Type Parameters:
    R - The type of the contracts in this application.
    Enclosing class:
    LedgerViewFlowable

    public static class LedgerViewFlowable.LedgerTestView<R>
    extends LedgerViewFlowable.LedgerView<R>
    A ledger view for unit testing of bots.
    • Constructor Detail

      • LedgerTestView

        public LedgerTestView​(org.pcollections.PMap<java.lang.String,​org.pcollections.PMap<com.daml.ledger.javaapi.data.Identifier,​org.pcollections.PSet<java.lang.String>>> commandIdToContractIds,
                              org.pcollections.PMap<com.daml.ledger.javaapi.data.Identifier,​org.pcollections.PMap<java.lang.String,​org.pcollections.PSet<java.lang.String>>> contractIdsToCommandIds,
                              org.pcollections.PMap<com.daml.ledger.javaapi.data.Identifier,​org.pcollections.PMap<java.lang.String,​R>> pendingContractSet,
                              org.pcollections.PMap<com.daml.ledger.javaapi.data.Identifier,​org.pcollections.PMap<java.lang.String,​R>> activeContractSet)