Package com.rs.seagull.emulator.api
Class StopConditions.EndMarkerStopCondition
java.lang.Object
com.rs.seagull.emulator.api.StopConditions.StopConditionAdapter
com.rs.seagull.emulator.api.StopConditions.EndMarkerStopCondition
- All Implemented Interfaces:
Condition
,Table.StopCondition
- Enclosing class:
- StopConditions
public static class StopConditions.EndMarkerStopCondition
extends StopConditions.StopConditionAdapter
A StopCondition where the stop condition is a value in a field.
- Version:
- $Id: CJL2CodeTemplates.xml,v 1.2 2011/02/16 16:13:58 MRomijn Exp $
- Author:
- mromijn
-
Field Summary
Modifier and TypeFieldDescriptionfinal String
The name of the marker column fieldfinal String
The value the marker field contains when the end of the table is reachedFields inherited from class com.rs.seagull.emulator.api.StopConditions.StopConditionAdapter
contains, ignoreCase, jsIsTrueScript, LOG, maxPages, session, testBefore
-
Constructor Summary
ConstructorDescriptionEndMarkerStopCondition
(Session session, boolean ignoreCase, boolean testBefore, boolean contains, String markerField, String markerValue) Create an EndMarkerStopCondition where the stop condition is a value in a field. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns true if the Condition is satisfied.Methods inherited from class com.rs.seagull.emulator.api.StopConditions.StopConditionAdapter
doTestBeforeProcessingPage, eachPage, eachRow, incrementPageCount, initialize, isTrue, isTrue, setJavascriptIsTrueScript
-
Field Details
-
markerField
The name of the marker column field -
markerValue
The value the marker field contains when the end of the table is reached
-
-
Constructor Details
-
EndMarkerStopCondition
public EndMarkerStopCondition(Session session, boolean ignoreCase, boolean testBefore, boolean contains, String markerField, String markerValue) Create an EndMarkerStopCondition where the stop condition is a value in a field.- Parameters:
session
- The session.ignoreCase
- True if the text comparison should ignore case.testBefore
- True if the test should be done before processing the page.contains
- True if the text comparison should be contains() rather than equals().markerField
- The name of the marker column field.markerValue
- The value the marker field contains when the end of the table is reached.
-
-
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.
-