com.r3corda.core.contracts.clauses

Package com.r3corda.core.contracts.clauses

Types

Clause interface Clause

A clause that can be matched as part of execution of a contract.

GroupClause interface GroupClause<in S : ContractState, in T : Any> : Clause, GroupVerify<S, T>
GroupClauseVerifier abstract class GroupClauseVerifier<S : ContractState, T : Any> : SingleClause
GroupVerify interface GroupVerify<in S, in T : Any>
InterceptorClause class InterceptorClause : SingleClause

A clause which intercepts calls to a wrapped clause, and passes them through verification only from a pre-clause. This is similar to an inceptor in aspect orientated programming.

MatchBehaviour enum class MatchBehaviour
SingleClause abstract class SingleClause : Clause, SingleVerify

A single verifiable clause. By default always matches, continues to the next clause when matched and errors if not matched.

SingleVerify interface SingleVerify

Functions

verifyClauses fun verifyClauses(tx: TransactionForContract, clauses: List<SingleClause>, commands: Collection<AuthenticatedObject<CommandData>>): Unit

Verify a transaction against the given list of clauses.