public class AutomaticHashConstraint implements AttachmentConstraint
Modifier and Type | Field and Description |
---|---|
static AutomaticHashConstraint |
INSTANCE
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isSatisfiedBy(Attachment attachment)
Deprecated.
Returns whether the given contract attachment can be used with the
interface ContractState associated with this constraint object. |
isSatisfiedBy
public static AutomaticHashConstraint INSTANCE
public boolean isSatisfiedBy(Attachment attachment)
Returns whether the given contract attachment can be used with the interface ContractState
associated with this constraint object.
interface ContractState