Package com.crawljax.core.configuration
Class CrawlRules
- java.lang.Object
-
- com.crawljax.core.configuration.CrawlRules
-
public class CrawlRules extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCrawlRules.CrawlPriorityModestatic classCrawlRules.CrawlRulesBuilderstatic classCrawlRules.FormFillModestatic classCrawlRules.FormFillOrder
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description privateCrawlRules()
-
Method Summary
-
-
-
Field Detail
-
DEFAULT_WAIT_AFTER_RELOAD
public static final long DEFAULT_WAIT_AFTER_RELOAD
Default wait after URL reload inTimeUnit.MILLISECONDS- See Also:
- Constant Field Values
-
DEFAULT_WAIT_AFTER_EVENT
public static final long DEFAULT_WAIT_AFTER_EVENT
Default wait after event inTimeUnit.MILLISECONDS- See Also:
- Constant Field Values
-
crawlEvents
private com.google.common.collect.ImmutableSortedSet<Eventable.EventType> crawlEvents
-
invariants
private com.google.common.collect.ImmutableList<Invariant> invariants
-
oracleComparators
private com.google.common.collect.ImmutableList<OracleComparator> oracleComparators
-
ignoredFrameIdentifiers
private com.google.common.collect.ImmutableSortedSet<String> ignoredFrameIdentifiers
-
preCrawlConfig
private PreCrawlConfiguration preCrawlConfig
-
formFillMode
private CrawlRules.FormFillMode formFillMode
-
formFillOrder
private CrawlRules.FormFillOrder formFillOrder
-
inputSpecification
private InputSpecification inputSpecification
-
testInvariantsWhileCrawling
private boolean testInvariantsWhileCrawling
-
clickOnce
private boolean clickOnce
-
randomizeCandidateElements
private boolean randomizeCandidateElements
-
crawlFrames
private boolean crawlFrames
-
crawlHiddenAnchors
private boolean crawlHiddenAnchors
-
waitAfterReloadUrl
private long waitAfterReloadUrl
-
waitAfterEvent
private long waitAfterEvent
-
followExternalLinks
private boolean followExternalLinks
-
crawlPriorityMode
private CrawlRules.CrawlPriorityMode crawlPriorityMode
-
crawlNearDuplicates
private boolean crawlNearDuplicates
-
delayNearDuplicateCrawling
private boolean delayNearDuplicateCrawling
-
applyNonSelAdvantage
private boolean applyNonSelAdvantage
-
avoidUnrelatedBacktracking
private boolean avoidUnrelatedBacktracking
-
useEquivalentReset
private boolean useEquivalentReset
-
avoidDifferentBacktracking
private boolean avoidDifferentBacktracking
-
skipExploredActions
private boolean skipExploredActions
-
maxRepeatExploredActions
private int maxRepeatExploredActions
-
usefulFragmentRules
private FragmentRules usefulFragmentRules
-
restoreConnectedEdges
private boolean restoreConnectedEdges
-
-
Method Detail
-
builder
public static CrawlRules.CrawlRulesBuilder builder(CrawljaxConfiguration.CrawljaxConfigurationBuilder builder)
-
getFormFillOrder
public CrawlRules.FormFillOrder getFormFillOrder()
-
getCrawlEvents
public com.google.common.collect.ImmutableSortedSet<Eventable.EventType> getCrawlEvents()
-
getInvariants
public com.google.common.collect.ImmutableList<Invariant> getInvariants()
-
getOracleComparators
public com.google.common.collect.ImmutableList<OracleComparator> getOracleComparators()
-
getPreCrawlConfig
public PreCrawlConfiguration getPreCrawlConfig()
-
getFormFillMode
public CrawlRules.FormFillMode getFormFillMode()
-
getInputSpecification
public InputSpecification getInputSpecification()
-
isTestInvariantsWhileCrawling
public boolean isTestInvariantsWhileCrawling()
-
isClickOnce
public boolean isClickOnce()
-
isRandomizeCandidateElements
public boolean isRandomizeCandidateElements()
-
shouldCrawlFrames
public boolean shouldCrawlFrames()
-
isCrawlHiddenAnchors
public boolean isCrawlHiddenAnchors()
-
getWaitAfterReloadUrl
public long getWaitAfterReloadUrl()
- Returns:
- in milliseconds
-
getWaitAfterEvent
public long getWaitAfterEvent()
- Returns:
- in milliseconds.
-
getIgnoredFrameIdentifiers
public com.google.common.collect.ImmutableSortedSet<String> getIgnoredFrameIdentifiers()
-
getAllCrawlElements
public com.google.common.collect.ImmutableList<CrawlElement> getAllCrawlElements()
- Returns:
- All Crawl elements:
PreCrawlConfiguration.getIncludedElements(),PreCrawlConfiguration.getExcludedElements()andInputSpecification.getCrawlElements().
-
followExternalLinks
public boolean followExternalLinks()
-
isCrawlFrames
public boolean isCrawlFrames()
-
isFollowExternalLinks
public boolean isFollowExternalLinks()
-
getCrawlPriorityMode
public CrawlRules.CrawlPriorityMode getCrawlPriorityMode()
-
isCrawlNearDuplicates
public boolean isCrawlNearDuplicates()
-
isDelayNearDuplicateCrawling
public boolean isDelayNearDuplicateCrawling()
-
isApplyNonSelAdvantage
public boolean isApplyNonSelAdvantage()
-
isAvoidUnrelatedBacktracking
public boolean isAvoidUnrelatedBacktracking()
-
isAvoidDifferentBacktracking
public boolean isAvoidDifferentBacktracking()
-
isUseEquivalentReset
public boolean isUseEquivalentReset()
-
isSkipExploredActions
public boolean isSkipExploredActions()
-
getMaxRepeatExploredActions
public int getMaxRepeatExploredActions()
-
getUsefulFragmentRules
public FragmentRules getUsefulFragmentRules()
-
isRestoreConnectedEdges
public boolean isRestoreConnectedEdges()
-
-