com.atlassian.pageobjects.elements.query
Interface Conditions.CombinableCondition

All Superinterfaces:
PollingQuery, TimedCondition, TimedQuery<Boolean>
Enclosing class:
Conditions

public static interface Conditions.CombinableCondition
extends TimedCondition

A timed condition that may be logically combined with others, by means of basic logical operations: 'and'/'or'.


Field Summary
 
Fields inherited from interface com.atlassian.pageobjects.elements.query.PollingQuery
DEFAULT_INTERVAL
 
Method Summary
 Conditions.CombinableCondition and(TimedCondition other)
          Combine other condition with this condition logical query, such that the resulting condition represents a logical product of this condition and other.
 Conditions.CombinableCondition or(TimedCondition other)
          Combine other condition with this condition logical query, such that the resulting condition represents a logical sum of this condition and other.
 
Methods inherited from interface com.atlassian.pageobjects.elements.query.TimedQuery
by, by, byDefaultTimeout, now
 
Methods inherited from interface com.atlassian.pageobjects.elements.query.PollingQuery
defaultTimeout, interval
 

Method Detail

and

Conditions.CombinableCondition and(TimedCondition other)
Combine other condition with this condition logical query, such that the resulting condition represents a logical product of this condition and other.

Parameters:
other - condition to combine with this one
Returns:
new combined 'and' condition

or

Conditions.CombinableCondition or(TimedCondition other)
Combine other condition with this condition logical query, such that the resulting condition represents a logical sum of this condition and other.

Parameters:
other - condition to combine with this one
Returns:
new combined 'or' condition


Copyright © 2014 Atlassian. All rights reserved.