Uses of Interface
com.rs.seagull.emulator.api.Condition

  • Uses of Condition in com.rs.seagull.emulator.api

    Modifier and Type
    Interface
    Description
    static interface 
    A StopCondition is a Condition that returns true from its isTrue method when a table iterator (e.g.
    Classes in com.rs.seagull.emulator.api that implement Condition
    Modifier and Type
    Class
    Description
    class 
    The base class for all property conditions.
    class 
    An implementation of Condition that includes model property names which indicates when a waitFor should 'wake up' to evaluate the condition.
    static class 
     
    static class 
    A StopCondition where the stop condition is a value in a field.
    static class 
    An abstract superclass for most concrete StopConditions.
    Methods in com.rs.seagull.emulator.api that return Condition
    Modifier and Type
    Method
    Description
    static Condition
    Conditions.alwaysFalse()
    Returns a Condition that is always false.
    static Condition
    Conditions.alwaysTrue()
    Returns a Condition that is always true.
    static Condition
    Conditions.and(Condition c1, Condition c2)
    Returns a Condition that is true when two other conditions are both true.
    static Condition
    Conditions.cancelInviteCount(int delta)
    Returns a Conditions that is true when the CancelInviteCount property has incremented the given number of times.
    static Condition
    Conditions.cancelInviteCountAbsolute(long newValue)
    Returns a Conditions that is true when the CancelInviteCount property has become the provided count.
    static Condition
    Conditions.changeCount(int delta)
    Returns a Conditions that is true when the ChangeCount property has incremented the given number of times.
    static Condition
    Conditions.changeCount(BareSession session, int delta)
    Returns a Conditions that is true when the ChangeCount property has incremented the given number of times.
    static Condition
    Conditions.changeCountAbsolute(long newValue)
    Returns a Conditions that is true when the ChangeCount property has incremented to a new value.
    static Condition
    Conditions.cursorAt(BareScreen screen, com.seagullsw.common.toolbox.geometry.Point point)
    Returns a Condition that is true when the cursor is at a particular screen location.
    static Condition
    Conditions.cursorAt(com.seagullsw.common.toolbox.geometry.Point point)
    Returns a Condition that is true when the cursor is at a particular screen location.
    static Condition
    Conditions.cursorIn(BareScreen screen, com.seagullsw.common.toolbox.geometry.Rectangle area)
    Returns a Condition that is true when the cursor is in a particular screen area.
    static Condition
    Conditions.cursorIn(Session session, String fieldName)
    Returns a Condition that is true when the cursor is in a particular field.
    static Condition
    Conditions.cursorIn(Session session, String fieldName, int index)
    Returns a Condition that is true when the cursor is in a particular subfield of a multi-line or column field.
    static Condition
    Conditions.cursorIn(com.seagullsw.common.toolbox.geometry.Rectangle area)
    Returns a Condition that is true when the cursor is in a particular screen area.
    static Condition
    Conditions.cursorIn(String fieldName)
    Returns a Condition that is true when the cursor is in a particular field.
    static Condition
    Conditions.cursorIn(String fieldName, int index)
    Returns a Condition that is true when the cursor is in a particular subfield of a multi-line or column field.
    static Condition
    Conditions.cursorIsVisible()
    Returns a Condition that is true when the cursor is visible.
    static Condition
    Conditions.cursorIsVisible(BareScreen screen)
    Returns a Condition that is true when the cursor is visible.
    static Condition
    Conditions.cursorMoved()
    Returns a Condition that is true whenever the cursor has moved.
    static Condition
    Conditions.dataIn(Session session, String fieldName, String data)
    Returns a Condition that is true when the given field contains the given data value.
    static Condition
    Conditions.dataIn(com.seagullsw.common.toolbox.geometry.Rectangle area, String data)
    Returns a Condition that is true when the given rectangle contains the given data value.
    static Condition
    Conditions.dataIn(String fieldName, String data)
    Returns a Condition that is true when the given field contains the given data value.
    static Condition
    Conditions.emulatorState(BareScreen screen, com.seagullsw.common.emulator.physical.base.screen.EmulatorState emulatorState)
    Returns a Condition that is true when the emulator's state equals the provided emulator state.
    static Condition
    Conditions.emulatorState(com.seagullsw.common.emulator.physical.base.screen.EmulatorState emulatorState)
    Returns a Condition that is true when the emulator's state equals the provided emulator state.
    static Condition
    Conditions.emulatorState(com.seagullsw.common.emulator.physical.base.screen.EmulatorState emulatorState, boolean includeChangeCount)
    Returns a Condition that is true when the emulator's state equals the provided emulator state.
    static Condition
    Conditions.inputInhibitDown()
    Deprecated.
    Use the inputReady or emulatorState condition
    static Condition
    Conditions.inputInhibitDown(BareScreen screen)
    Deprecated.
    Use the inputReady or emulatorState condition
    static Condition
    Conditions.inputReady()
    Returns a Condition that is true when the session is ready for input.
    static Condition
    Conditions.inputReady(BareSession session)
    Returns a Condition that is true when the session is ready for input.
    static Condition
    Conditions.keyboardRestoreCountAtLeast(int value)
    Returns a Condition that is true when the 3270-style keyboard restore count is greater or equals to a particular value.
    static Condition
    Conditions.keyboardRestoreCountEquals(int value)
    Returns a Condition that is true when the 3270-style keyboard restore count equals a particular value.
    static Condition
    Conditions.keyboardRestoreCountEquals(BareScreen screen, int value)
    Returns a Condition that is true when the 3270-style keyboard restore count equals a particular value.
    static Condition
    Conditions.lineContains(int line, String string)
    Returns a Condition that is true when the screen contains a particular string anywhere on a particular line (zero-based).
    static Condition
    Conditions.not(Condition condition)
    Returns a Condition that is true when the given condition is false.
    static Condition
    Conditions.or(Condition c1, Condition c2)
    Returns a Condition that is true when either of two other conditions are true.
    static Condition
    Conditions.screenContains(String string)
    Returns a Condition that is true when the screen contains a particular string anywhere on the screen.
    static Condition
    Conditions.screenIdentified()
    Returns a Condition that is true when the current screen is identified.
    static Condition
    Conditions.screenNamed(Session session, String screenName)
    Returns a Condition that is true when the current screen name matches the given name.
    static Condition
    Conditions.screenNamed(Session session, List<String> screenNames)
    Returns a Condition that is true when the current screen name matches any one of a given list of names.
    static Condition
    Conditions.screenNamed(String screenName)
    Returns a Condition that is true when the current screen name does not match the given name.
    static Condition
    Conditions.screenNamed(String... screenNames)
    Returns a Condition that is true when the current screen name matches any one of a given list of names.
    static Condition
    Conditions.screenNamed(List<String> screenNames)
    Returns a Condition that is true when the current screen name matches any one of a given list of names.
    static Condition
    Conditions.screenNotNamed(String screenName)
    Returns a Condition that is true when the current screen name matches the given name.
    static Condition
    Conditions.stringAtEquals(com.seagullsw.common.toolbox.geometry.Point aPoint, int length, String value)
    Returns a Condition that is true when the screen contains a particular value at a particular location.
    static Condition
    Conditions.stringBeforeCursorEquals(String value)
    Returns a Condition that is true when the screen contents just to the left of the cursor match a given value.
    Methods in com.rs.seagull.emulator.api with parameters of type Condition
    Modifier and Type
    Method
    Description
    static Condition
    Conditions.and(Condition c1, Condition c2)
    Returns a Condition that is true when two other conditions are both true.
    static Condition
    Conditions.not(Condition condition)
    Returns a Condition that is true when the given condition is false.
    static Condition
    Conditions.or(Condition c1, Condition c2)
    Returns a Condition that is true when either of two other conditions are true.
    void
    BareSession.waitFor(Condition condition, com.seagullsw.common.toolbox.concurrent.Timeout timeout)
    Waits for a condition to become true.