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 DependencyPathAcceptor
relation
- a dependency pathtrue
if the path is validpublic int maxPathLength()
maxPathLength
in interface DependencyPathAcceptor
Copyright © 2012. All Rights Reserved.