public interface Consumer extends Visitor
Visitor that "consumes" a named object that has been added to the
ExecutionContext by a Producer of some sort.Producer| Modifier and Type | Method and Description |
|---|---|
boolean |
consumes(Object object)
Does this consumer consume the specified named object.
|
boolean consumes(Object object)
Producer that is executing
on the same element. The consumer should only return false if it knows for
certain that it doesn't consumer the specified named object. If uncertain, it should
error on the side of saying that it does consume the object.object - The product representationCopyright © 2020. All rights reserved.