public class AnyOf extends ConditionSet
condition
that is satisfied if any member of a given set
of conditions is satisfied. Defines a logical "or" condition.conditions_
ALWAYS
Constructor and Description |
---|
AnyOf(ICondition... conditions)
Creates a new AnyOf instance.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(IConditionVisitor visitor)
Implements the Visitor pattern for this condition.
|
boolean |
compatible(PropertySet properties)
Returns true if this condition is compatible with the given test case properties.
|
boolean |
satisfied(PropertySet properties)
Returns true if this condition is satisfied by the given test case properties.
|
add, equals, getConditions, hashCode, remove, toString
public AnyOf(ICondition... conditions)
public boolean satisfied(PropertySet properties)
satisfied
in interface ICondition
satisfied
in class ConditionSet
public boolean compatible(PropertySet properties)
compatible
in interface ICondition
compatible
in class ConditionSet
public void accept(IConditionVisitor visitor)
Copyright © 2024 The Cornutum Project. All rights reserved.