fun <T : CommandData> Collection<CommandWithParties<CommandData>>.requireSingleCommand(): <ERROR CLASS> fun <C : CommandData> Collection<CommandWithParties<CommandData>>.requireSingleCommand(klass: Class<C>): <ERROR CLASS>
Ensures that a transaction has only one command that is of the given type, otherwise throws an exception. |
|
fun <T : CommandData> Collection<CommandWithParties<CommandData>>.select(signer: PublicKey? = null, party: AbstractParty? = null): <ERROR CLASS> fun <C : CommandData> Collection<CommandWithParties<CommandData>>.select(klass: Class<C>, signer: PublicKey? = null, party: AbstractParty? = null): <ERROR CLASS>
Filters the command list by type, party and public key all at once. fun <T : CommandData> Collection<CommandWithParties<CommandData>>.select(signers: Collection<PublicKey>?, parties: Collection<Party>?): <ERROR CLASS> fun <C : CommandData> Collection<CommandWithParties<CommandData>>.select(klass: Class<C>, signers: Collection<PublicKey>?, parties: Collection<Party>?): <ERROR CLASS>
Filters the command list by type, parties and public keys all at once. |