public AttachmentConstraint
Constrain which contract-code-containing attachment can be used with a interface Contract
.
interface Contract
Modifier and Type | Method and Description |
---|---|
boolean |
isSatisfiedBy(Attachment attachment)
Returns whether the given contract attachment can be used with the
interface ContractState associated with this constraint object. |
boolean isSatisfiedBy(Attachment attachment)
Returns whether the given contract attachment can be used with the interface ContractState
associated with this constraint object.
interface ContractState