class AnyComposition<in S : ContractState, C : CommandData, in K : Any> : AnyOf<S, C, K>
Compose a number of clauses, such that any number of the clauses can run.
<init> |
AnyComposition(vararg rawClauses: Clause<S, C, K>)
Compose a number of clauses, such that any number of the clauses can run. |
clauses |
open val clauses: List<Clause<S, C, K>>
List of clauses under this composite clause |
toString |
open fun toString(): String |
matches |
fun <C : CommandData> Clause<*, C, *>.matches(commands: List<AuthenticatedObject<C>>): Boolean
Determine if the given list of commands matches the required commands for a clause to trigger. |