Interface UtxoFilteredTransactionBuilder
-
- All Implemented Interfaces:
@DoNotImplement() public interface UtxoFilteredTransactionBuilder
Defines which transaction component groups to include in a UtxoFilteredTransaction. Any component groups not specified by the builder are filtered out, so that their content or proof of existence is not included in the resulting UtxoFilteredTransaction.
-
-
Method Summary
Modifier and Type Method Description abstract UtxoFilteredTransactionBuilder
withNotary()
Includes an audit proof of the notary component group from a UtxoSignedTransaction in the current UtxoFilteredTransaction. abstract UtxoFilteredTransactionBuilder
withTimeWindow()
Includes an audit proof of the time window component group from a UtxoSignedTransaction in the current UtxoFilteredTransaction. abstract UtxoFilteredTransactionBuilder
withSignatoriesSize()
Includes a size proof of the signatories component group from a UtxoSignedTransaction in the current UtxoFilteredTransaction. abstract UtxoFilteredTransactionBuilder
withSignatories()
Includes an audit proof of the signatories component group from a UtxoSignedTransaction in the current UtxoFilteredTransaction. abstract UtxoFilteredTransactionBuilder
withSignatories(@NotNull() Predicate<PublicKey> predicate)
Includes an audit proof of the signatories component group from a UtxoSignedTransaction in the current UtxoFilteredTransaction. abstract UtxoFilteredTransactionBuilder
withInputStatesSize()
Includes a size proof of the input state refs component group from a UtxoSignedTransaction in the current UtxoFilteredTransaction. abstract UtxoFilteredTransactionBuilder
withInputStates()
Includes an audit proof of the input state refs component group from a UtxoSignedTransaction in the current UtxoFilteredTransaction. abstract UtxoFilteredTransactionBuilder
withInputStates(@NotNull() Predicate<StateRef> predicate)
Includes an audit proof of the input state refs component group from a UtxoSignedTransaction in the current UtxoFilteredTransaction. abstract UtxoFilteredTransactionBuilder
withReferenceStatesSize()
Includes a size proof of the reference input state refs component group from a UtxoSignedTransaction in the current UtxoFilteredTransaction. abstract UtxoFilteredTransactionBuilder
withReferenceStates()
Includes an audit proof of the reference input state refs component group from a UtxoSignedTransaction in the current UtxoFilteredTransaction. abstract UtxoFilteredTransactionBuilder
withReferenceStates(@NotNull() Predicate<StateRef> predicate)
Includes an audit proof of the reference input state refs component group from a UtxoSignedTransaction in the current UtxoFilteredTransaction. abstract UtxoFilteredTransactionBuilder
withOutputStatesSize()
Includes a size proof of the output state refs component group from a UtxoSignedTransaction in the current UtxoFilteredTransaction. abstract UtxoFilteredTransactionBuilder
withOutputStates()
Includes an audit proof of the output state refs component group from a UtxoSignedTransaction in the current UtxoFilteredTransaction. abstract UtxoFilteredTransactionBuilder
withOutputStates(@NotNull() Predicate<ContractState> predicate)
Includes an audit proof of the output state refs component group from a UtxoSignedTransaction in the current UtxoFilteredTransaction. abstract UtxoFilteredTransactionBuilder
withCommandsSize()
Includes a size proof of the commands component group from a UtxoSignedTransaction in the current UtxoFilteredTransaction. abstract UtxoFilteredTransactionBuilder
withCommands()
Includes an audit proof of the commands component group from a UtxoSignedTransaction in the current UtxoFilteredTransaction. abstract UtxoFilteredTransactionBuilder
withCommands(@NotNull() Predicate<Command> predicate)
Includes an audit proof of the commands component group from a UtxoSignedTransaction in the current UtxoFilteredTransaction. abstract UtxoFilteredTransaction
build()
Builds a UtxoFilteredTransaction that contains the component groups and components specified by the current UtxoFilteredTransactionBuilder. -
-
Method Detail
-
withNotary
@NotNull()@Suspendable() abstract UtxoFilteredTransactionBuilder withNotary()
Includes an audit proof of the notary component group from a UtxoSignedTransaction in the current UtxoFilteredTransaction.
-
withTimeWindow
@NotNull()@Suspendable() abstract UtxoFilteredTransactionBuilder withTimeWindow()
Includes an audit proof of the time window component group from a UtxoSignedTransaction in the current UtxoFilteredTransaction.
-
withSignatoriesSize
@NotNull()@Suspendable() abstract UtxoFilteredTransactionBuilder withSignatoriesSize()
Includes a size proof of the signatories component group from a UtxoSignedTransaction in the current UtxoFilteredTransaction.
-
withSignatories
@NotNull()@Suspendable() abstract UtxoFilteredTransactionBuilder withSignatories()
Includes an audit proof of the signatories component group from a UtxoSignedTransaction in the current UtxoFilteredTransaction.
-
withSignatories
@NotNull()@Suspendable() abstract UtxoFilteredTransactionBuilder withSignatories(@NotNull() Predicate<PublicKey> predicate)
Includes an audit proof of the signatories component group from a UtxoSignedTransaction in the current UtxoFilteredTransaction.
- Parameters:
predicate
- Implements a filtering function that is applied to each deserialized component within the signatories component group.
-
withInputStatesSize
@NotNull()@Suspendable() abstract UtxoFilteredTransactionBuilder withInputStatesSize()
Includes a size proof of the input state refs component group from a UtxoSignedTransaction in the current UtxoFilteredTransaction.
-
withInputStates
@NotNull()@Suspendable() abstract UtxoFilteredTransactionBuilder withInputStates()
Includes an audit proof of the input state refs component group from a UtxoSignedTransaction in the current UtxoFilteredTransaction.
-
withInputStates
@NotNull()@Suspendable() abstract UtxoFilteredTransactionBuilder withInputStates(@NotNull() Predicate<StateRef> predicate)
Includes an audit proof of the input state refs component group from a UtxoSignedTransaction in the current UtxoFilteredTransaction.
- Parameters:
predicate
- Implements a filtering function that is applied to each deserialized component within the input state refs component group.
-
withReferenceStatesSize
@NotNull()@Suspendable() abstract UtxoFilteredTransactionBuilder withReferenceStatesSize()
Includes a size proof of the reference input state refs component group from a UtxoSignedTransaction in the current UtxoFilteredTransaction.
-
withReferenceStates
@NotNull()@Suspendable() abstract UtxoFilteredTransactionBuilder withReferenceStates()
Includes an audit proof of the reference input state refs component group from a UtxoSignedTransaction in the current UtxoFilteredTransaction.
-
withReferenceStates
@NotNull()@Suspendable() abstract UtxoFilteredTransactionBuilder withReferenceStates(@NotNull() Predicate<StateRef> predicate)
Includes an audit proof of the reference input state refs component group from a UtxoSignedTransaction in the current UtxoFilteredTransaction.
- Parameters:
predicate
- Implements a filtering function that is applied to each deserialized component within the reference input state refs component group.
-
withOutputStatesSize
@NotNull()@Suspendable() abstract UtxoFilteredTransactionBuilder withOutputStatesSize()
Includes a size proof of the output state refs component group from a UtxoSignedTransaction in the current UtxoFilteredTransaction.
-
withOutputStates
@NotNull()@Suspendable() abstract UtxoFilteredTransactionBuilder withOutputStates()
Includes an audit proof of the output state refs component group from a UtxoSignedTransaction in the current UtxoFilteredTransaction.
-
withOutputStates
@NotNull()@Suspendable() abstract UtxoFilteredTransactionBuilder withOutputStates(@NotNull() Predicate<ContractState> predicate)
Includes an audit proof of the output state refs component group from a UtxoSignedTransaction in the current UtxoFilteredTransaction.
- Parameters:
predicate
- Implements a filtering function that is applied to each deserialized component within the output state refs component group.
-
withCommandsSize
@NotNull()@Suspendable() abstract UtxoFilteredTransactionBuilder withCommandsSize()
Includes a size proof of the commands component group from a UtxoSignedTransaction in the current UtxoFilteredTransaction.
-
withCommands
@NotNull()@Suspendable() abstract UtxoFilteredTransactionBuilder withCommands()
Includes an audit proof of the commands component group from a UtxoSignedTransaction in the current UtxoFilteredTransaction.
-
withCommands
@NotNull()@Suspendable() abstract UtxoFilteredTransactionBuilder withCommands(@NotNull() Predicate<Command> predicate)
Includes an audit proof of the commands component group from a UtxoSignedTransaction in the current UtxoFilteredTransaction.
- Parameters:
predicate
- Implements a filtering function that is applied to each deserialized component within the commands component group.
-
build
@NotNull()@Suspendable() abstract UtxoFilteredTransaction build()
Builds a UtxoFilteredTransaction that contains the component groups and components specified by the current UtxoFilteredTransactionBuilder.
-
-
-
-