corda / net.corda.core.contracts / Requirements

Requirements

object Requirements

Defines a simple domain specific language for the specification of financial contracts. Currently covers:

Functions

using

infix fun String.using(expr: Boolean): Unit

Throws IllegalArgumentException if the given expression evaluates to false.

Extension Functions

contextLogger

fun Any.contextLogger(): <ERROR CLASS>

When called from a companion object, returns the logger for the enclosing class.