Package com.crawljax.core.configuration
Interface CrawlScope
-
- All Known Implementing Classes:
DefaultCrawlScope
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface CrawlScope
The crawl scope allows to check if a URL is or not in scope.URLs in scope are crawled during the crawling process.
- Since:
- 5.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisInScope(String url)Tells whether or not the given URL is in scope.
-
-
-
Method Detail
-
isInScope
boolean isInScope(String url)
Tells whether or not the given URL is in scope.Called during the crawl process, to know if the crawling process should crawl or backtrack.
- Parameters:
url- the URL to check if it's in scope.- Returns:
trueif the given URL is in scope,falseotherwise.
-
-