Class LinkIndexQueryResult
- java.lang.Object
-
- com.sodius.oslc.core.process.links.model.LinkIndexQueryResult
-
public class LinkIndexQueryResult extends Object
The result of a link index query.- Since:
- 3.14.0
-
-
Constructor Summary
Constructors Constructor Description LinkIndexQueryResult(LinkIndexQuery linkIndexQuery, List<DirectedLink> links)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LinkIndexQuerygetLinkIndexQuery()Gets theLinkIndexQuerythat allowed the links discovery.List<DirectedLink>getLinks()Gets the list of discovered links.booleanisEnhancedByCache()Determines whether an internal cache has enhanced the list of discovered links.
-
-
-
Constructor Detail
-
LinkIndexQueryResult
public LinkIndexQueryResult(LinkIndexQuery linkIndexQuery, List<DirectedLink> links)
-
-
Method Detail
-
getLinks
public List<DirectedLink> getLinks()
Gets the list of discovered links. They might have been enhanced by an internal cache.- Returns:
- a list of links.
- See Also:
isEnhancedByCache()
-
getLinkIndexQuery
public LinkIndexQuery getLinkIndexQuery()
Gets theLinkIndexQuerythat allowed the links discovery.- Returns:
- a link index query.
-
isEnhancedByCache
public boolean isEnhancedByCache()
Determines whether an internal cache has enhanced the list of discovered links.- Returns:
trueif modified by an internal cache.falseotherwise.
-
-