public interface DependencyRelationAcceptor
DependencyRelationAcceptor
will
be called for each link in the path. A path will be terminated before the
first unacceptable link.
Implementations are recomended to be a thread-safe and stateless. This
restricts acceptors to be limited to rejecting a link at a time, as opposed
to rejecting a link based on the prior link.Modifier and Type | Method and Description |
---|---|
boolean |
accept(DependencyRelation relation)
Returns wether or not the given dependency relation should be accepted.
|
boolean accept(DependencyRelation relation)
relation
- the relation to evaluatetrue
if the relation is acceptable, false
otherwiseCopyright © 2012. All Rights Reserved.