public class UniversalPathAcceptor extends Object implements DependencyPathAcceptor
DependencyPathAcceptor that accepts all links.| Constructor and Description |
|---|
UniversalPathAcceptor() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accepts(DependencyPath relation)
Returns
true if the path is valid according to this acceptor's
standards |
int |
maxPathLength()
Returns the maximum path length allowed by this acceptor.
|
public boolean accepts(DependencyPath relation)
true if the path is valid according to this acceptor's
standardsaccepts in interface DependencyPathAcceptorrelation - a dependency pathtrue if the path is validpublic int maxPathLength()
maxPathLength in interface DependencyPathAcceptorCopyright © 2012. All Rights Reserved.