public class ScopeBuilder extends Object
Scope. To get an instance of this builder call
Scope.create().
| Constructor and Description |
|---|
ScopeBuilder() |
| Modifier and Type | Method and Description |
|---|---|
ScopeBuilder |
addExcludePathPatterns(String pattern)
Excludes resources whose URL matches the pattern.
|
Scope |
build()
Returns a instance of
Scope to change the default settings. |
ScopeBuilder |
pageLimit(int pageLimit)
This option limits how many pages should be included in the scan.
|
public ScopeBuilder pageLimit(int pageLimit)
pageLimit - Number of pages to scan.public ScopeBuilder addExcludePathPatterns(String pattern)
pattern - Pattern to exclude URL from scan.public Scope build()
Scope to change the default settings.Scope object.Copyright © 2017. All rights reserved.