public class AlwaysAcceptAttachmentConstraint implements AttachmentConstraint
An interface AttachmentConstraint
where isSatisfiedBy
always returns true.
interface AttachmentConstraint
,
isSatisfiedBy
public static AlwaysAcceptAttachmentConstraint INSTANCE
An interface AttachmentConstraint
where isSatisfiedBy
always returns true.
interface AttachmentConstraint
,
isSatisfiedBy
public boolean isSatisfiedBy(@NotNull Attachment attachment)
Returns whether the given contract attachment can be used with the interface ContractState
associated with this constraint object.
interface ContractState