Package com.daml.ledger.javaapi.data
Class ContractFilter<Ct>
java.lang.Object
com.daml.ledger.javaapi.data.ContractFilter<Ct>
This class contains utilities to decode a
CreatedEvent
and create a
TransactionFilter
by provider parties It can only be instantiated with a subtype of
ContractCompanion
-
Method Summary
Modifier and TypeMethodDescriptioneventFormat
(Optional<Set<String>> parties) static <Ct> ContractFilter<Ct>
of
(ContractCompanion<Ct, ?, ?> companion) static <Cid,
View> ContractFilter<Contract<Cid, View>> of
(InterfaceCompanion<?, Cid, View> companion) toContract
(CreatedEvent createdEvent) transactionFilter
(Optional<Set<String>> parties) Method will be removed in 3.4.0transactionFormat
(Optional<Set<String>> parties) updateFormat
(Optional<Set<String>> parties) withIncludeCreatedEventBlob
(boolean includeCreatedEventBlob) withTransactionShape
(TransactionShape transactionShape) withVerbose
(boolean verbose)
-
Method Details
-
of
-
of
public static <Cid,View> ContractFilter<Contract<Cid,View>> of(InterfaceCompanion<?, Cid, View> companion) -
withIncludeCreatedEventBlob
-
withVerbose
-
withTransactionShape
-
toContract
- Throws:
IllegalArgumentException
-
transactionFilter
Method will be removed in 3.4.0 -
updateFormat
-
transactionFormat
-
eventFormat
-