public class DefaultVisitDecider extends Object implements IVisitDecider
IVisitDecider.Direction
Constructor and Description |
---|
DefaultVisitDecider()
Create a new visit decider.
|
DefaultVisitDecider(boolean abort)
Create a new visit decider.
|
DefaultVisitDecider(boolean abort,
String scope)
Create a new visit decider.
|
Modifier and Type | Method and Description |
---|---|
Object |
getCacheKey()
Get the cache key.
|
String |
getXMLScope()
Get the scope.
|
boolean |
isAbort()
Get the abort flag.
|
boolean |
searchNode(IComponentIdentifier start,
IComponentIdentifier source,
IComponentIdentifier target,
Collection<IService> results)
Test if a specific node should be searched.
|
void |
setAbort(boolean abort)
Set the abort flag.
|
void |
setXMLScope(String scope)
Set the scope when deserializing from XML.
|
public DefaultVisitDecider()
public DefaultVisitDecider(boolean abort)
public DefaultVisitDecider(boolean abort, String scope)
public boolean searchNode(IComponentIdentifier start, IComponentIdentifier source, IComponentIdentifier target, Collection<IService> results)
searchNode
in interface IVisitDecider
source
- The source data provider.target
- The target data provider.results
- The preliminary results.start
- The start provider.public boolean isAbort()
public void setAbort(boolean abort)
abort
- The abort flag to set.public void setXMLScope(String scope)
scope
- The scope to set.public String getXMLScope()
public Object getCacheKey()
getCacheKey
in interface IVisitDecider
Copyright © 2013. All Rights Reserved.