public abstract class ConditionSet extends Object implements ICondition
conditions
.Modifier and Type | Field and Description |
---|---|
protected Set<ICondition> |
conditions_ |
ALWAYS
Modifier | Constructor and Description |
---|---|
protected |
ConditionSet(ICondition... conditions)
Creates a new ConditionSet instance.
|
Modifier and Type | Method and Description |
---|---|
ConditionSet |
add(ICondition condition)
Adds a condition to this set.
|
abstract boolean |
compatible(PropertySet properties)
Returns true if this condition is compatible with the given test case properties.
|
boolean |
equals(Object object) |
Iterator<ICondition> |
getConditions()
Returns the conditions in this set.
|
int |
hashCode() |
ConditionSet |
remove(ICondition condition)
Removes a condition from this set.
|
abstract boolean |
satisfied(PropertySet properties)
Returns true if this condition is satisfied by the given test case properties.
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
accept
protected Set<ICondition> conditions_
protected ConditionSet(ICondition... conditions)
public abstract boolean satisfied(PropertySet properties)
satisfied
in interface ICondition
public abstract boolean compatible(PropertySet properties)
compatible
in interface ICondition
public ConditionSet add(ICondition condition)
public ConditionSet remove(ICondition condition)
public Iterator<ICondition> getConditions()
Copyright © 2024 The Cornutum Project. All rights reserved.