Package com.rs.seagull.emulator.api
Class StopConditions.CompositeStopCondition
java.lang.Object
com.rs.seagull.emulator.api.StopConditions.StopConditionAdapter
com.rs.seagull.emulator.api.StopConditions.CompositeStopCondition
- All Implemented Interfaces:
Condition
,Table.StopCondition
- Enclosing class:
- StopConditions
public static class StopConditions.CompositeStopCondition
extends StopConditions.StopConditionAdapter
-
Field Summary
Fields inherited from class com.rs.seagull.emulator.api.StopConditions.StopConditionAdapter
contains, ignoreCase, jsIsTrueScript, LOG, maxPages, session, testBefore
-
Constructor Summary
ConstructorDescriptionCompositeStopCondition
(Session session, List<Table.StopCondition> conditions, int maxPages) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns true if the condition's isTrue method should be called before processing a page (versus after).void
eachPage()
Called after each scroll.boolean
Returns true if the Condition is satisfied.Methods inherited from class com.rs.seagull.emulator.api.StopConditions.StopConditionAdapter
eachRow, incrementPageCount, initialize, isTrue, isTrue, setJavascriptIsTrueScript
-
Constructor Details
-
CompositeStopCondition
-
-
Method Details
-
innerIsTrue
public boolean innerIsTrue()Description copied from class:StopConditions.StopConditionAdapter
Returns true if the Condition is satisfied.- Specified by:
innerIsTrue
in classStopConditions.StopConditionAdapter
- Returns:
- true if the Condition is satisfied.
-
eachPage
public void eachPage()Description copied from interface:Table.StopCondition
Called after each scroll.- Specified by:
eachPage
in interfaceTable.StopCondition
- Overrides:
eachPage
in classStopConditions.StopConditionAdapter
-
doTestBeforeProcessingPage
public boolean doTestBeforeProcessingPage()Description copied from interface:Table.StopCondition
Returns true if the condition's isTrue method should be called before processing a page (versus after).- Specified by:
doTestBeforeProcessingPage
in interfaceTable.StopCondition
- Overrides:
doTestBeforeProcessingPage
in classStopConditions.StopConditionAdapter
- Returns:
- whether or not to call the condition's isTrue method before processing the page
-