com.r3corda.core.contracts.clauses / Clause

Clause

interface Clause

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



Properties

ifMatched abstract val ifMatched: MatchBehaviour

Behaviour if this clause is not matches

ifNotMatched abstract val ifNotMatched: MatchBehaviour

Behaviour if this clause is matched

requiredCommands abstract val requiredCommands: Set<Class<out CommandData>>

Classes for commands which must ALL be present in transaction for this clause to be triggered

Inheritors

GroupClause interface GroupClause<in S : ContractState, in T : Any> : Clause, GroupVerify<S, T>
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.