corda / net.corda.core.contracts / AlwaysAcceptAttachmentConstraint

AlwaysAcceptAttachmentConstraint

object AlwaysAcceptAttachmentConstraint : AttachmentConstraint

An AttachmentConstraint where isSatisfiedBy always returns true.

Functions

isSatisfiedBy

fun isSatisfiedBy(attachment: Attachment): Boolean

Returns whether the given contract attachment can be used with the ContractState associated with this constraint object.

Extension Functions

contextLogger

fun Any.contextLogger(): <ERROR CLASS>

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